mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 12:08:20 +00:00
434b4aad86
Signed-off-by: btd <bardadymchik@gmail.com>
27 lines
432 B
C++
27 lines
432 B
C++
#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:
|
|
|
|
void Move();
|
|
int m_Type;
|
|
int m_Subtype;
|
|
//int m_SpawnTick;
|
|
vec2 m_Core;
|
|
};
|
|
|
|
#endif
|