/*! * @file multiplayer_team_deathmatch.h * Defines game rules for team deathmatch games * * currently there are only two teams supported */ #ifndef _SINGLEPLAYER_SHOOTEMUP_H #define _SINGLEPLAYER_SHOOTEMUP_H #include "game_rules.h" class TiXmlElement; class SingleplayerShootemup : public GameRules { ObjectListDeclaration(SingleplayerShootemup); public: SingleplayerShootemup(const TiXmlElement* root = NULL); virtual ~SingleplayerShootemup(); virtual void loadParams(const TiXmlElement* root); virtual void onPlayerSpawn(); virtual void onPlayerDeath(); virtual void tick(float dt); void draw(); void setDeathScreen(const std::string& imageName); protected: virtual void checkGameRules(float dt); private: }; #endif /* _SINGLEPLAYER_SHOOTEMUP_H */