Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9756


Ignore:
Timestamp:
Nov 5, 2013, 11:12:02 PM (11 years ago)
Author:
jo
Message:

Disabling the single tetris brick. Now all tetris bricks consists of four stones.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/tetris/TetrisBrick.cc

    r9667 r9756  
    5454    {
    5555        RegisterObject(TetrisBrick);
    56         this->shapeIndex_ = static_cast<unsigned int>(rnd(7.0f)); //<! random number between 0 and 7
     56        this->shapeIndex_ = 1 + static_cast<unsigned int>(rnd(6.0f)); //<! random number between 0 and 7
    5757        this->stonesPerBrick_ = 4; //<! most tetris bricks is formed by 4 stones
    5858        this->delay_ = false;
Note: See TracChangeset for help on using the changeset viewer.