Guest User

Untitled

a guest
Mar 12th, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.76 KB | None | 0 0
  1. /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
  2. /* If you are missing that file, acquire a complete release at teeworlds.com.                */
  3. #ifndef GAME_SERVER_GAMEMODES_DM_H
  4. #define GAME_SERVER_GAMEMODES_DM_H
  5. #include <game/server/gamecontroller.h>
  6. #include <game/server/entity.h>
  7.  
  8. class CGameControllerDM : public IGameController
  9. {
  10. public:
  11.     class CFlag *Flag;
  12.  
  13.     CGameControllerDM(class CGameContext *pGameServer);
  14.     virtual void DoWincheck();
  15.     virtual bool CanBeMovedOnBalance(int ClientID);
  16.     virtual void Snap(int SnappingClient);
  17.     virtual void Tick();
  18.  
  19.     virtual bool OnEntity(int Index, vec2 Pos);
  20.     virtual int OnCharacterDeath(class CCharacter *pVictim, class CPlayer *pKiller, int Weapon);
  21. };
  22. #endif
Advertisement
Add Comment
Please, Sign In to add comment