Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/util/multiplayer_team_deathmatch.h @ 7036

Last change on this file since 7036 was 7035, checked in by patrick, 19 years ago

trunk: game rules loading problems

File size: 722 bytes
Line 
1
2/*!
3 * @file multiplayer_team_deathmatch.h
4 * Defines game rules for this game
5 */
6
7#ifndef _MULTIPLAYER_TEAM_DEATHMATCH_H
8#define _MULTIPLAYER_TEAM_DEATHMATCH_H
9
10#include "game_rules.h"
11
12
13class TiXmlElement;
14class ObjectManager;
15class Player;
16
17
18class MultiplayerTeamDeathmatch : public GameRules
19{
20
21  public:
22    MultiplayerTeamDeathmatch(const TiXmlElement* root = NULL);
23    virtual ~MultiplayerTeamDeathmatch();
24
25    virtual void loadParams(const TiXmlElement* root);
26
27
28    virtual void onPlayerSpawn(Player* player);
29    virtual void onPlayerDeath(Player* player);
30
31
32    virtual void tick(float dt);
33    void draw();
34
35
36  protected:
37    virtual void checkGameRules();
38};
39
40
41#endif /* _MULTIPLAYER_TEAM_DEATHMATCH_H */
Note: See TracBrowser for help on using the repository browser.