mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-22 10:34:18 +00:00
30 lines
661 B
C++
30 lines
661 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_CLIENT_PREDICTION_ENTITIES_PICKUP_H
|
|
#define GAME_CLIENT_PREDICTION_ENTITIES_PICKUP_H
|
|
|
|
#include <game/client/prediction/entity.h>
|
|
|
|
const int PickupPhysSize = 14;
|
|
|
|
class CPickup : public CEntity
|
|
{
|
|
public:
|
|
virtual void Tick();
|
|
|
|
CPickup(CGameWorld *pGameWorld, int ID, CNetObj_Pickup *pPickup);
|
|
void FillInfo(CNetObj_Pickup *pPickup);
|
|
bool Match(CPickup *pPickup);
|
|
|
|
private:
|
|
int m_Type;
|
|
int m_Subtype;
|
|
|
|
// DDRace
|
|
|
|
void Move();
|
|
vec2 m_Core;
|
|
};
|
|
|
|
#endif
|