Changeset 9085 for code/branches/pCuts/src/modules/tetris/TetrisBrick.cc
- Timestamp:
- Apr 13, 2012, 5:44:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pCuts/src/modules/tetris/TetrisBrick.cc
r9084 r9085 53 53 RegisterObject(TetrisBrick); 54 54 55 this->shapeIndex_ = 1; //<! TODO: random number between 0 and 755 this->shapeIndex_ = 4; //<! TODO: random number between 0 and 7 56 56 this->stonesPerBrick_ = 4; //<! most tetris bricks is formed by 4 stones 57 57 this->delay_ = false; … … 241 241 this->setVelocity(0.0f, 0.0f, 0.0f); 242 242 } 243 /** 244 @brief 245 Attaches stones to the Centerpoint. 246 */ 247 void TetrisBrick::releaseStones(TetrisCenterpoint* center) 248 { 249 for(unsigned int i = 0; i < brickStones_.size(); i++) 250 { 251 //this->brickStones_[i]->detachFromParent(); 252 253 //this->brickStones_[i]->detach(this); 254 //this->brickStones_[i]->attach(center); 255 } 256 257 } 243 258 244 259 }
Note: See TracChangeset
for help on using the changeset viewer.