Changeset 9327 for code/branches/presentation2012merge/src/modules/tetris
- Timestamp:
- Jul 22, 2012, 5:12:29 PM (12 years ago)
- Location:
- code/branches/presentation2012merge/src/modules/tetris
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/tetris/TetrisBrick.cc
r9326 r9327 78 78 // Create a new stone and add it to the brick. 79 79 TetrisStone* stone = new TetrisStone(this); 80 stone->setHealth(1.0f);81 80 this->brickStones_.push_back(stone); 82 81 this->attach(stone); -
code/branches/presentation2012merge/src/modules/tetris/TetrisStone.cc
r9286 r9327 48 48 Constructor. Registers and initializes the object. 49 49 */ 50 TetrisStone::TetrisStone(BaseObject* creator) : Pawn(creator)50 TetrisStone::TetrisStone(BaseObject* creator) : MovableEntity(creator) 51 51 { 52 52 RegisterObject(TetrisStone); -
code/branches/presentation2012merge/src/modules/tetris/TetrisStone.h
r9286 r9327 38 38 #include "tetris/TetrisPrereqs.h" 39 39 40 #include "worldentities/ pawns/Pawn.h"40 #include "worldentities/MovableEntity.h" 41 41 #include "tools/Timer.h" 42 42 … … 51 51 @ingroup Tetris 52 52 */ 53 class _TetrisExport TetrisStone : public Pawn53 class _TetrisExport TetrisStone : public MovableEntity 54 54 { 55 55 public:
Note: See TracChangeset
for help on using the changeset viewer.