- Timestamp:
- Jul 22, 2012, 5:06:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/tetris/Tetris.h
r9286 r9326 56 56 public: 57 57 Tetris(BaseObject* creator); //!< Constructor. Registers and initializes the object. 58 virtual ~Tetris(); //!< Destructor. Cleans up, if initialized. 58 virtual ~Tetris(); //!< Destructor. Cleans up, if initialized. 59 59 60 60 virtual void start(void); //!< Starts the Tetris minigame. … … 88 88 void clearRow(unsigned int row); 89 89 90 90 91 91 PlayerInfo* player_; 92 92 93 93 WeakPtr<TetrisCenterpoint> center_; //!< The playing field. 94 std::vector<TetrisBrick*> bricks_; //!< A list of all bricks in play. 95 std::vector<TetrisStone*> stones_; //!< A list of all stones in play. 96 std::vector< std::vector<bool> > grid_; 94 std::list<TetrisStone*> stones_; //!< A list of all stones in play. 97 95 TetrisBrick* activeBrick_; 98 96 TetrisBrick* futureBrick_; 99 97 100 98 Timer starttimer_; //!< A timer to delay the start of the game. 101 99 float endGameCriteria_; //<! Works as a timer which is resetted, whenever a brick is created.
Note: See TracChangeset
for help on using the changeset viewer.