Changeset 10571 for code/branches/core7/src/modules/tetris
- Timestamp:
- Sep 9, 2015, 1:11:13 PM (9 years ago)
- Location:
- code/branches/core7/src/modules/tetris
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/modules/tetris/TetrisBrick.cc
r10262 r10571 169 169 if (this->getGametype() != NULL && this->getGametype()->isA(Class(Tetris))) 170 170 { 171 Tetris* tetrisGametype = orxonox_cast<Tetris*>(this->getGametype() .get());171 Tetris* tetrisGametype = orxonox_cast<Tetris*>(this->getGametype()); 172 172 return tetrisGametype; 173 173 } -
code/branches/core7/src/modules/tetris/TetrisCenterpoint.cc
r9667 r10571 98 98 if (this->getGametype() != NULL && this->getGametype()->isA(Class(Tetris))) 99 99 { 100 Tetris* tetrisGametype = orxonox_cast<Tetris*>(this->getGametype() .get());100 Tetris* tetrisGametype = orxonox_cast<Tetris*>(this->getGametype()); 101 101 tetrisGametype->setCenterpoint(this); 102 102 } -
code/branches/core7/src/modules/tetris/TetrisScore.cc
r10262 r10571 118 118 119 119 if (this->getOwner() != NULL && this->getOwner()->getGametype()) 120 this->owner_ = orxonox_cast<Tetris*>(this->getOwner()->getGametype() .get());120 this->owner_ = orxonox_cast<Tetris*>(this->getOwner()->getGametype()); 121 121 else 122 122 this->owner_ = 0;
Note: See TracChangeset
for help on using the changeset viewer.