Last change
on this file since 8299 was
7464,
checked in by patrick, 19 years ago
|
orxonox: mission goals get checked now, verbose output.
|
File size:
771 bytes
|
Rev | Line | |
---|
[7391] | 1 | |
---|
| 2 | /*! |
---|
| 3 | * @file multiplayer_team_deathmatch.h |
---|
| 4 | * Defines game rules for team deathmatch games |
---|
| 5 | * |
---|
| 6 | * currently there are only two teams supported |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #ifndef _SINGLEPLAYER_SHOOTEMUP_H |
---|
| 10 | #define _SINGLEPLAYER_SHOOTEMUP_H |
---|
| 11 | |
---|
| 12 | #include "game_rules.h" |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | class TiXmlElement; |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | class SingleplayerShootemup : public GameRules |
---|
| 19 | { |
---|
| 20 | |
---|
| 21 | public: |
---|
| 22 | SingleplayerShootemup(const TiXmlElement* root = NULL); |
---|
| 23 | virtual ~SingleplayerShootemup(); |
---|
| 24 | |
---|
| 25 | virtual void loadParams(const TiXmlElement* root); |
---|
| 26 | |
---|
| 27 | virtual void onPlayerSpawn(); |
---|
| 28 | virtual void onPlayerDeath(); |
---|
| 29 | |
---|
| 30 | virtual void tick(float dt); |
---|
| 31 | void draw(); |
---|
| 32 | |
---|
| 33 | void setDeathScreen(const std::string& imageName); |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | protected: |
---|
[7464] | 37 | virtual void checkGameRules(float dt); |
---|
[7391] | 38 | |
---|
| 39 | |
---|
| 40 | private: |
---|
| 41 | |
---|
| 42 | }; |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | #endif /* _SINGLEPLAYER_SHOOTEMUP_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.