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);
|
|
|
|
|
|
|
|
virtual void Reset();
|
|
|
|
virtual void Tick();
|
|
|
|
virtual void Snap(int SnappingClient);
|
|
|
|
|
|
|
|
private:
|
2010-07-29 05:21:18 +00:00
|
|
|
|
|
|
|
void Move();
|
2010-05-29 07:25:38 +00:00
|
|
|
int m_Type;
|
|
|
|
int m_Subtype;
|
2010-07-29 05:21:18 +00:00
|
|
|
//int m_SpawnTick;
|
|
|
|
vec2 m_Core;
|
2010-05-29 07:25:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|