- Timestamp:
- Oct 22, 2010, 4:19:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/lastmanstanding/src/orxonox/gametypes/LastManStanding.h
r7556 r7579 30 30 @brief Declaration of the Gametype "Last Man Standing". 31 31 */ 32 /* BY THE WAY 33 //!You have to ADD BOTS (or any other further players) BEFORE actually starting a match! 34 //Maybe a warning should be added in the menu, if a player starts a Last Man Standing match alone. 35 //Whenever there is only on player in the game, this player will be declared as winner. 36 //How "death" is managed: dead players cannot respawn. 37 */ 32 38 33 #ifndef _LastManStanding_H__ 39 34 #define _LastManStanding_H__ … … 72 67 virtual void start(); //!< Sends a start message. 73 68 virtual void end(); //!< Sends an end message. 74 virtual void playerEntered(PlayerInfo* player); 75 virtual bool playerLeft(PlayerInfo* player); 69 virtual void playerEntered(PlayerInfo* player); //!< Initializes values. Manages the gametype's HUD. #Players alive via StaticMessage. 70 virtual bool playerLeft(PlayerInfo* player); //!< Manages the gametype's HUD. #Players alive via StaticMessage. 76 71 virtual bool playerChangedName(PlayerInfo* player); 77 72 virtual void playerStartsControllingPawn(PlayerInfo* player, Pawn* pawn); //!< Manages the gametype's HUD. player's lives via FadingMessage. 73 virtual void playerStopsControllingPawn(PlayerInfo* player, Pawn* pawn); //!< Manages the gametype's HUD. #Players alive via StaticMessage. 78 74 virtual void pawnKilled(Pawn* victim, Pawn* killer = 0); 79 75 80 const int playerGetLives(PlayerInfo* player); //!< getFunction for the map "playerLives_" 76 const int playerGetLives(PlayerInfo* player); //!< getFunction for the map "playerLives_". 81 77 void killPlayer(PlayerInfo* player); //!< Function in order to kill a player. Punishment for hiding longer than "timeRemaining". 82 78 void tick (float dt); //!< used to end the game
Note: See TracChangeset
for help on using the changeset viewer.