Changeset 8563 for code/branches/tetris/src/modules/tetris/Tetris.h
- Timestamp:
- May 24, 2011, 9:07:33 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tetris/src/modules/tetris/Tetris.h
r8537 r8563 69 69 PlayerInfo* getPlayer(void) const; //!< Get the player. 70 70 71 boolisValidMove(TetrisStone* stone, const Vector3& position);71 std::pair<bool, TetrisStone*> isValidMove(TetrisStone* stone, const Vector3& position); 72 72 73 73 protected: … … 78 78 void createStone(void); 79 79 void cleanup(void); //!< Cleans up the Gametype by destroying the ball and the bats. 80 bool correctStonePos(TetrisStone* stone, const Vector3& position); //!< Check whether the supplied stone is in an allowed position81 80 82 81 PlayerInfo* player_;
Note: See TracChangeset
for help on using the changeset viewer.