Changeset 11071 for code/trunk/src/orxonox/gametypes/LastTeamStanding.h
- Timestamp:
- Jan 17, 2016, 10:29:21 PM (8 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/gametypes/LastTeamStanding.h
r9667 r11071 67 67 std::map<PlayerInfo*, bool> inGame_; //!< Indicates each Player's state. 68 68 69 virtual void spawnDeadPlayersIfRequested() ; //!< Prevents dead players to respawn.69 virtual void spawnDeadPlayersIfRequested() override; //!< Prevents dead players to respawn. 70 70 virtual int getMinLives(); //!< Returns minimum of each player's lives; players with 0 lives are skipped; 71 71 … … 74 74 virtual ~LastTeamStanding(); //!< Default Destructor. 75 75 76 virtual void playerEntered(PlayerInfo* player) ; //!< Initializes values.77 virtual bool playerLeft(PlayerInfo* player) ; //!< Manages all local variables.76 virtual void playerEntered(PlayerInfo* player) override; //!< Initializes values. 77 virtual bool playerLeft(PlayerInfo* player) override; //!< Manages all local variables. 78 78 79 virtual bool allowPawnDeath(Pawn* victim, Pawn* originator = 0); //!< Manages each player's lost lives.80 virtual bool allowPawnDamage(Pawn* victim, Pawn* originator = 0); //!< If a player shoot's an opponent, his punishment countdown will be resetted.81 virtual void playerStartsControllingPawn(PlayerInfo* player, Pawn* pawn) ; //!< Resets punishment time and respawn delay.82 v oid tick (float dt); //!< used to end the game83 virtual void end() ; //!< Sends an end message.79 virtual bool allowPawnDeath(Pawn* victim, Pawn* originator = nullptr) override; //!< Manages each player's lost lives. 80 virtual bool allowPawnDamage(Pawn* victim, Pawn* originator = nullptr) override; //!< If a player shoot's an opponent, his punishment countdown will be resetted. 81 virtual void playerStartsControllingPawn(PlayerInfo* player, Pawn* pawn) override; //!< Resets punishment time and respawn delay. 82 virtual void tick (float dt) override; //!< used to end the game 83 virtual void end() override; //!< Sends an end message. 84 84 void punishPlayer(PlayerInfo* player); //!< Function in order to kill a player. Punishment for hiding longer than "timeRemaining". 85 85 int playerGetLives(PlayerInfo* player); //!< getFunction for the map "playerLives_".
Note: See TracChangeset
for help on using the changeset viewer.