summaryrefslogtreecommitdiffstats
path: root/src/Entities/Floater.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-22 14:48:22 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-22 14:48:22 +0100
commit7a299f1ba62217c6d214f6cfbd266a41938ad577 (patch)
treee71e362c85e3efc196b65a495651ca60426f99b7 /src/Entities/Floater.h
parentImplented BroadcastParticleEffect (diff)
downloadcuberite-7a299f1ba62217c6d214f6cfbd266a41938ad577.tar
cuberite-7a299f1ba62217c6d214f6cfbd266a41938ad577.tar.gz
cuberite-7a299f1ba62217c6d214f6cfbd266a41938ad577.tar.bz2
cuberite-7a299f1ba62217c6d214f6cfbd266a41938ad577.tar.lz
cuberite-7a299f1ba62217c6d214f6cfbd266a41938ad577.tar.xz
cuberite-7a299f1ba62217c6d214f6cfbd266a41938ad577.tar.zst
cuberite-7a299f1ba62217c6d214f6cfbd266a41938ad577.zip
Diffstat (limited to 'src/Entities/Floater.h')
-rw-r--r--src/Entities/Floater.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Entities/Floater.h b/src/Entities/Floater.h
index 9bc5039f8..4db94986c 100644
--- a/src/Entities/Floater.h
+++ b/src/Entities/Floater.h
@@ -14,7 +14,7 @@ class cFloater :
public:
- cFloater(double a_X, double a_Y, double a_Z, Vector3d a_Speed, int a_PlayerID);
+ cFloater(double a_X, double a_Y, double a_Z, Vector3d a_Speed, int a_PlayerID, int a_CountDownTime);
virtual void SpawnOn(cClientHandle & a_Client) override;
virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
@@ -23,7 +23,9 @@ public:
protected:
Vector3d m_Speed;
+ Vector3d m_ParticlePos;
int m_PickupCountDown;
int m_PlayerID;
+ int m_CountDownTime;
bool m_CanPickupItem;
} ; \ No newline at end of file