1
0
cuberite-2a/src/Entities/Floater.h

31 lines
534 B
C
Raw Normal View History

2013-12-19 11:32:06 -05:00
#pragma once
#include "Entity.h"
class cFloater :
public cEntity
{
typedef cFloater super;
public:
cFloater(double a_X, double a_Y, double a_Z, Vector3d a_Speed, int a_PlayerID, int a_CountDownTime);
2013-12-19 11:32:06 -05:00
virtual void SpawnOn(cClientHandle & a_Client) override;
virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
bool CanPickup(void) const { return m_CanPickupItem; }
protected:
Vector3d m_Speed;
Vector3d m_ParticlePos;
2013-12-19 11:32:06 -05:00
int m_PickupCountDown;
int m_PlayerID;
int m_CountDownTime;
2013-12-19 11:32:06 -05:00
bool m_CanPickupItem;
} ;