- Timestamp:
- Nov 2, 2010, 10:34:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/lastmanstanding/src/orxonox/gametypes/LastManStanding.h
r7596 r7605 58 58 std::map<PlayerInfo*, float> playerDelayTime_; //!< Stores each Player's delay time. 59 59 std::map<PlayerInfo*, bool> inGame_; //!< Indicates each Player's state. 60 virtual void spawnDeadPlayersIfRequested(); //!< Prevents dead players to respawn 60 bool noPunishment; 61 bool hardPunishment; 62 float punishDamageRate; 63 virtual void spawnDeadPlayersIfRequested(); //!< Prevents dead players to respawn. 64 virtual int getMinLives(); //!< Returns minimum of each player's lives; players with 0 lives are skipped; 61 65 62 66 public: … … 75 79 76 80 const int playerGetLives(PlayerInfo* player); //!< getFunction for the map "playerLives_". 77 void killPlayer(PlayerInfo* player); //!< Function in order to kill a player. Punishment for hiding longer than "timeRemaining".81 void punishPlayer(PlayerInfo* player); //!< Function in order to kill a player. Punishment for hiding longer than "timeRemaining". 78 82 void tick (float dt); //!< used to end the game 79 83 };
Note: See TracChangeset
for help on using the changeset viewer.