mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-11 02:28:18 +00:00
cd4ba53bae
Conflicts: bam.lua scripts/build.py scripts/make_release.py src/engine/server.h src/game/client/gameclient.cpp src/game/server/gamecontext.cpp src/game/server/gamecontext.h src/game/server/gamecontroller.cpp src/game/server/gamecontroller.h src/game/server/player.cpp src/game/version.h
33 lines
693 B
C++
33 lines
693 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, int Layer = 0, int Number = 0);
|
|
|
|
virtual void Reset();
|
|
virtual void Tick();
|
|
virtual void TickPaused();
|
|
virtual void Snap(int SnappingClient);
|
|
|
|
private:
|
|
|
|
int m_Type;
|
|
int m_Subtype;
|
|
//int m_SpawnTick;
|
|
|
|
// DDRace
|
|
|
|
void Move();
|
|
vec2 m_Core;
|
|
};
|
|
|
|
#endif
|