ddnet/src/game/server/entities/pickup.h
2010-11-20 21:26:06 +01:00

26 lines
592 B
C++

/* (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. */
#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:
int m_Type;
int m_Subtype;
int m_SpawnTick;
};
#endif