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-09-06 10:29:28 +00:00
|
|
|
#ifndef GAME_SERVER_ENTITIES_FLAG_H
|
2010-08-25 14:15:59 +00:00
|
|
|
#define GAME_SERVER_ENTITIES_FLAG_H
|
|
|
|
|
|
|
|
#include <game/server/entity.h>
|
|
|
|
|
|
|
|
class CFlag : public CEntity
|
|
|
|
{
|
|
|
|
public:
|
2010-09-06 10:29:28 +00:00
|
|
|
static const int ms_PhysSize = 14;
|
|
|
|
CCharacter *m_pCarryingCharacter;
|
2010-08-25 14:15:59 +00:00
|
|
|
vec2 m_Vel;
|
2010-09-06 10:29:28 +00:00
|
|
|
vec2 m_StandPos;
|
2011-04-13 18:37:12 +00:00
|
|
|
|
2011-01-06 03:46:10 +00:00
|
|
|
int m_Team;
|
2010-09-06 10:29:28 +00:00
|
|
|
int m_AtStand;
|
|
|
|
int m_DropTick;
|
|
|
|
int m_GrabTick;
|
2011-04-13 18:37:12 +00:00
|
|
|
|
2010-09-06 10:29:28 +00:00
|
|
|
CFlag(CGameWorld *pGameWorld, int Team);
|
2010-08-25 14:15:59 +00:00
|
|
|
|
|
|
|
virtual void Reset();
|
2012-01-09 23:49:31 +00:00
|
|
|
virtual void TickPaused();
|
2010-08-25 14:15:59 +00:00
|
|
|
virtual void Snap(int SnappingClient);
|
|
|
|
};
|
2010-09-06 10:29:28 +00:00
|
|
|
|
|
|
|
#endif
|
2011-02-13 05:35:13 +00:00
|
|
|
*/
|