summaryrefslogtreecommitdiffstats
path: root/src/Entities/Floater.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-12-22 15:45:24 +0100
committerMattes D <github@xoft.cz>2013-12-22 15:45:24 +0100
commitf404130e8c5f91788eec9dfc3b9d22099b8d060c (patch)
tree64e2f2959d7e560101200541b85f18357826e163 /src/Entities/Floater.h
parentUsing regular assignments. (diff)
parentFixed compiler warning. (diff)
downloadcuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar
cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.gz
cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.bz2
cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.lz
cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.xz
cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.zst
cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.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