Changeset 10817 for code/branches/cpp11_v2/src/modules/tetris
- Timestamp:
- Nov 19, 2015, 11:40:28 AM (10 years ago)
- Location:
- code/branches/cpp11_v2/src/modules/tetris
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/tetris/Tetris.h
r10769 r10817 58 58 virtual ~Tetris(); //!< Destructor. Cleans up, if initialized. 59 59 60 virtual void start(void) ; //!< Starts the Tetris minigame.61 virtual void end(void) ; ///!< Ends the Tetris minigame.60 virtual void start(void) override; //!< Starts the Tetris minigame. 61 virtual void end(void) override; ///!< Ends the Tetris minigame. 62 62 63 virtual void tick(float dt) ;63 virtual void tick(float dt) override; 64 64 65 virtual void spawnPlayer(PlayerInfo* player) ; //!< Spawns the input player.66 virtual bool playerLeft(PlayerInfo* player) ;65 virtual void spawnPlayer(PlayerInfo* player) override; //!< Spawns the input player. 66 virtual bool playerLeft(PlayerInfo* player) override; 67 67 68 68 void setCenterpoint(TetrisCenterpoint* center); … … 77 77 78 78 protected: 79 virtual void spawnPlayersIfRequested() ; //!< Spawns player.79 virtual void spawnPlayersIfRequested() override; //!< Spawns player. 80 80 81 81 -
code/branches/cpp11_v2/src/modules/tetris/TetrisBrick.h
r10262 r10817 57 57 virtual ~TetrisBrick() {} 58 58 59 virtual void moveFrontBack(const Vector2& value) ; //!< Overloaded the function to steer the bat up and down.60 virtual void moveRightLeft(const Vector2& value) ; //!< Overloaded the function to steer the bat up and down.61 virtual void changedPlayer() ; //!< Is called when the player changed.59 virtual void moveFrontBack(const Vector2& value) override; //!< Overloaded the function to steer the bat up and down. 60 virtual void moveRightLeft(const Vector2& value) override; //!< Overloaded the function to steer the bat up and down. 61 virtual void changedPlayer() override; //!< Is called when the player changed. 62 62 63 63 bool isValidMove(const Vector3& position, bool isRotation); -
code/branches/cpp11_v2/src/modules/tetris/TetrisCenterpoint.h
r10624 r10817 62 62 virtual ~TetrisCenterpoint() {} 63 63 64 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) ; //!< Method to create a TetrisCenterpoint through XML.64 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; //!< Method to create a TetrisCenterpoint through XML. 65 65 66 66 /** -
code/branches/cpp11_v2/src/modules/tetris/TetrisScore.h
r10262 r10817 60 60 virtual ~TetrisScore(); 61 61 62 virtual void tick(float dt) ; //!< Creates and sets the caption to be displayed by the TetrisScore.63 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) ;64 virtual void changedOwner() ; //!< Is called when the owner changes.62 virtual void tick(float dt) override; //!< Creates and sets the caption to be displayed by the TetrisScore. 63 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; 64 virtual void changedOwner() override; //!< Is called when the owner changes. 65 65 66 66 private:
Note: See TracChangeset
for help on using the changeset viewer.