Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/new_class_id/src/util/singleplayer_shootemup.h @ 9705

Last change on this file since 9705 was 9705, checked in by bensch, 18 years ago

adapted many more classes

File size: 821 bytes
Line 
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
15class TiXmlElement;
16
17
18class SingleplayerShootemup : public GameRules
19{
20  NewObjectListDeclaration(SingleplayerShootemup);
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:
37    virtual void checkGameRules(float dt);
38
39
40  private:
41
42};
43
44
45#endif /* _SINGLEPLAYER_SHOOTEMUP_H */
Note: See TracBrowser for help on using the repository browser.