Changeset 9756 for code/trunk
- Timestamp:
- Nov 5, 2013, 11:12:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/tetris/TetrisBrick.cc
r9667 r9756 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.