ddnet/src/game/server/entities/pickup.h

32 lines
665 B
C
Raw Normal View History

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. */
2010-05-29 07:25:38 +00:00
#ifndef GAME_SERVER_ENTITIES_PICKUP_H
#define GAME_SERVER_ENTITIES_PICKUP_H
#include <game/server/entity.h>
const int PickupPhysSize = 14;
class CPickup : public CEntity
{
public:
CPickup(CGameWorld *pGameWorld, int Type, int SubType = 0, int Layer = 0, int Number = 0);
2010-05-29 07:25:38 +00:00
virtual void Reset();
virtual void Tick();
virtual void Snap(int SnappingClient);
2010-05-29 07:25:38 +00:00
private:
2010-05-29 07:25:38 +00:00
int m_Type;
int m_Subtype;
//int m_SpawnTick;
// DDRace
void Move();
vec2 m_Core;
2010-05-29 07:25:38 +00:00
};
#endif