Changeset 9823 for code/branches/levelMichael/src/modules/tetris
- Timestamp:
- Nov 25, 2013, 4:10:21 PM (11 years ago)
- Location:
- code/branches/levelMichael
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/levelMichael
- Property svn:mergeinfo changed
/code/trunk merged: 9756,9759,9763,9765,9782
- Property svn:mergeinfo changed
-
code/branches/levelMichael/src/modules/tetris/TetrisBrick.cc
r9667 r9823 54 54 { 55 55 RegisterObject(TetrisBrick); 56 this->shapeIndex_ = static_cast<unsigned int>(rnd(7.0f)); //<! random number between 0 and 756 this->shapeIndex_ = 1 + static_cast<unsigned int>(rnd(6.0f)); //<! random number between 0 and 7 57 57 this->stonesPerBrick_ = 4; //<! most tetris bricks is formed by 4 stones 58 58 this->delay_ = false;
Note: See TracChangeset
for help on using the changeset viewer.