Changeset 8802 in orxonox.OLD for trunk/src/util/multiplayer_team_deathmatch.h
- Timestamp:
- Jun 26, 2006, 4:46:25 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/multiplayer_team_deathmatch.h
r8708 r8802 41 41 virtual std::string getPlayableModelFileName( int userId, int team, ClassID classId ); 42 42 43 virtual void onPlayerSpawn(); 44 virtual void onPlayerDeath(); 45 43 virtual void registerSpawn( WorldEntity * we ); 46 44 47 45 virtual void tick(float dt); … … 50 48 inline void setDeathPenaltyTimeout(float time) { this->deathTimeout = time; } 51 49 inline void setMaxKills(int kills) { this->maxKills = kills; } 52 void setDeathScreen(const std::string& imageName);53 50 54 51 inline void setNumTeams( int numTeams ){ this->numTeams = numTeams; } … … 58 55 59 56 virtual void process(const Event &event); 57 58 void onKill( int killedUserId, int userId ); 59 void onRespawn( int userId ); 60 60 61 61 virtual void handleChatMessage( int userId, const std::string & message, int messageType ); … … 73 73 74 74 std::map<int,int> teamScore; //!< team score 75 76 ImagePlane* deathScreen; //!< the death screen77 75 78 76 int currentGameState; //!< game state … … 100 98 101 99 void onInputEnter( const std::string & text ); 100 101 OrxGui::GLGuiBox* statsBox; 102 OrxGui::GLGuiTable* table; 103 void tickStatsTable(); 104 105 void showStats(); 106 void hideStats(); 102 107 }; 103 108
Note: See TracChangeset
for help on using the changeset viewer.