Changeset 8537 for code/branches/tetris/src/modules/tetris/TetrisStone.h
- Timestamp:
- May 23, 2011, 3:06:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tetris/src/modules/tetris/TetrisStone.h
r8249 r8537 57 57 virtual ~TetrisStone() {} 58 58 59 virtual void tick(float dt); 60 59 61 virtual void moveFrontBack(const Vector2& value); //!< Overloaded the function to steer the bat up and down. 60 62 virtual void moveRightLeft(const Vector2& value); //!< Overloaded the function to steer the bat up and down. … … 75 77 { return this->size_; } 76 78 79 const Vector3& getPreviousPosition() const 80 { return this->previousPosition_; } 81 82 void setGame(Tetris* tetris) 83 { assert(tetris); tetris_ = tetris; } 84 77 85 private: 78 86 void enableMovement(void) … … 82 90 bool delay_; 83 91 Timer delayTimer_; 92 93 Vector3 previousPosition_; 94 Tetris* tetris_; 84 95 }; 85 96 }
Note: See TracChangeset
for help on using the changeset viewer.