Changeset 7037 in orxonox.OLD for trunk/src/util/multiplayer_team_deathmatch.h
- Timestamp:
- Feb 6, 2006, 12:05:23 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/multiplayer_team_deathmatch.h
r7035 r7037 2 2 /*! 3 3 * @file multiplayer_team_deathmatch.h 4 * Defines game rules for this game 4 * Defines game rules for team deathmatch games 5 * 6 * currently there are only two teams supported 5 7 */ 6 8 … … 33 35 void draw(); 34 36 37 inline void setDeathPenaltyTimeout(float time) { this->deathTimeout = time; } 38 inline void setMaxKills(int kills) { this->maxKills = kills; } 35 39 36 40 protected: 37 41 virtual void checkGameRules(); 42 43 private: 44 bool bLocalPlayerDead; //!< true if the local player is dead 45 float deathTimeout; //!< timeout a player cannot play if he/she dies 46 int maxKills; //!< max kills for winning condition 47 48 int teamAKills; //!< kills of team A 49 int teamBKills; //!< kills of team B 38 50 }; 39 51
Note: See TracChangeset
for help on using the changeset viewer.