summaryrefslogtreecommitdiffstats
path: root/src/Entities/Boat.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-16 18:03:39 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-16 18:03:39 +0100
commit199123d4f23aa6d1957b96382c96bd89cbcdf092 (patch)
treea15a90118aea42229d2aea4113b5dcaa449ffe3f /src/Entities/Boat.h
parentAdded HandleSpeedFromAttachee so an entity can override the function. (diff)
downloadcuberite-199123d4f23aa6d1957b96382c96bd89cbcdf092.tar
cuberite-199123d4f23aa6d1957b96382c96bd89cbcdf092.tar.gz
cuberite-199123d4f23aa6d1957b96382c96bd89cbcdf092.tar.bz2
cuberite-199123d4f23aa6d1957b96382c96bd89cbcdf092.tar.lz
cuberite-199123d4f23aa6d1957b96382c96bd89cbcdf092.tar.xz
cuberite-199123d4f23aa6d1957b96382c96bd89cbcdf092.tar.zst
cuberite-199123d4f23aa6d1957b96382c96bd89cbcdf092.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Boat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Entities/Boat.h b/src/Entities/Boat.h
index 8c51ab86c..c4c9afe7a 100644
--- a/src/Entities/Boat.h
+++ b/src/Entities/Boat.h
@@ -27,7 +27,8 @@ public:
virtual void SpawnOn(cClientHandle & a_ClientHandle) override;
virtual void OnRightClicked(cPlayer & a_Player) override;
virtual void DoTakeDamage(TakeDamageInfo & TDI) override;
- virtual void HandlePhysics(float a_Dt, cChunk & a_Chunk) override;
+ virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
+ virtual void HandleSpeedFromAttachee(float a_Forward, float a_Sideways) override;
cBoat(double a_X, double a_Y, double a_Z);
} ;