Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/vs-enhencements/src/util/singleplayer_shootemup.h @ 10674

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

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 818 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  ObjectListDeclaration(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.