Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
- /* If you are missing that file, acquire a complete release at teeworlds.com. */
- #ifndef GAME_SERVER_GAMEMODES_DM_H
- #define GAME_SERVER_GAMEMODES_DM_H
- #include <game/server/gamecontroller.h>
- #include <game/server/entity.h>
- class CGameControllerDM : public IGameController
- {
- public:
- class CFlag *Flag;
- CGameControllerDM(class CGameContext *pGameServer);
- virtual void DoWincheck();
- virtual bool CanBeMovedOnBalance(int ClientID);
- virtual void Snap(int SnappingClient);
- virtual void Tick();
- virtual bool OnEntity(int Index, vec2 Pos);
- virtual int OnCharacterDeath(class CCharacter *pVictim, class CPlayer *pKiller, int Weapon);
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment