2010-11-20 10:37:14 +00:00
|
|
|
/* (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. */
|
2011-01-06 03:46:10 +00:00
|
|
|
/*
|
2010-05-29 07:25:38 +00:00
|
|
|
#ifndef GAME_SERVER_GAMEMODES_CTF_H
|
|
|
|
#define GAME_SERVER_GAMEMODES_CTF_H
|
|
|
|
#include <game/server/gamecontroller.h>
|
|
|
|
#include <game/server/entity.h>
|
|
|
|
|
|
|
|
class CGameControllerCTF : public IGameController
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
class CFlag *m_apFlags[2];
|
2011-04-13 18:37:12 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
CGameControllerCTF(class CGameContext *pGameServer);
|
2011-06-19 15:32:00 +00:00
|
|
|
virtual void DoWincheck();
|
2011-02-12 10:40:36 +00:00
|
|
|
virtual bool CanBeMovedOnBalance(int ClientID);
|
2011-03-04 16:08:10 +00:00
|
|
|
virtual void Snap(int SnappingClient);
|
2010-05-29 07:25:38 +00:00
|
|
|
virtual void Tick();
|
2011-04-13 18:37:12 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
virtual bool OnEntity(int Index, vec2 Pos);
|
|
|
|
virtual int OnCharacterDeath(class CCharacter *pVictim, class CPlayer *pKiller, int Weapon);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
2011-02-13 05:35:13 +00:00
|
|
|
*/
|