summaryrefslogtreecommitdiffstats
path: root/src/Entities/Floater.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Entities/Floater.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Entities/Floater.h b/src/Entities/Floater.h
index 59402393f..25a80996a 100644
--- a/src/Entities/Floater.h
+++ b/src/Entities/Floater.h
@@ -11,14 +11,15 @@
class cFloater :
public cEntity
{
- typedef cEntity super;
-
-public:
// tolua_end
+ using super = cEntity;
+
+public: // tolua_export
+
CLASS_PROTODEF(cFloater)
- cFloater(double a_X, double a_Y, double a_Z, Vector3d a_Speed, UInt32 a_PlayerID, int a_CountDownTime);
+ cFloater(Vector3d a_Pos, Vector3d a_Speed, UInt32 a_PlayerID, int a_CountDownTime);
virtual void SpawnOn(cClientHandle & a_Client) override;
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;