Changeset 9084 for code/branches/pCuts/src/modules/tetris/TetrisBrick.h
- Timestamp:
- Apr 12, 2012, 7:05:57 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pCuts/src/modules/tetris/TetrisBrick.h
r9082 r9084 61 61 virtual void changedPlayer(); //!< Is called when the player changed. 62 62 63 bool isValidMove( Vector3& position);63 bool isValidMove(const Vector3& position, bool isRotation); 64 64 unsigned int getNumberOfStones(void) const 65 65 { return this->brickStones_.size(); } … … 69 69 void setGame(Tetris* tetris) 70 70 { assert(tetris); tetris_ = tetris; } 71 unsigned int getRotationCount(void) 72 { return this->rotationCount_;} 71 73 72 74 protected: … … 93 95 bool lockRotation_; 94 96 97 unsigned int rotationCount_; //!< Stores the bricks orientation 95 98 Timer delayTimer_; 96 99 Timer rotationTimer_; ///!< This timer is used to filter out multiple rotation inputs.
Note: See TracChangeset
for help on using the changeset viewer.