summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-05-22 11:08:44 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-05-22 11:08:44 +0200
commit73455d293861c492388f3a28af3380318eaa0bae (patch)
treec31ce06aa2d2960d46f1b80c3cc7d8d2ecb4f424 /src/Entities/Player.h
parentBoth SetSpeed functions are now overridden by cPlayer (diff)
downloadcuberite-73455d293861c492388f3a28af3380318eaa0bae.tar
cuberite-73455d293861c492388f3a28af3380318eaa0bae.tar.gz
cuberite-73455d293861c492388f3a28af3380318eaa0bae.tar.bz2
cuberite-73455d293861c492388f3a28af3380318eaa0bae.tar.lz
cuberite-73455d293861c492388f3a28af3380318eaa0bae.tar.xz
cuberite-73455d293861c492388f3a28af3380318eaa0bae.tar.zst
cuberite-73455d293861c492388f3a28af3380318eaa0bae.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Player.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h
index 43f27e045..fb6bdc3ee 100644
--- a/src/Entities/Player.h
+++ b/src/Entities/Player.h
@@ -195,7 +195,11 @@ public:
void ForceSetSpeed(const Vector3d & a_Speed); // tolua_export
virtual void SetSpeed(const Vector3d & a_Speed) override;
- virtual void SetSpeed(double a_SpeedX, double a_SpeedY, double a_SpeedZ) override
+ virtual void SetSpeed(double a_SpeedX, double a_SpeedY, double a_SpeedZ) override;
+
+ virtual void SetSpeedX(double a_SpeedX) override;
+ virtual void SetSpeedY(double a_SpeedY) override;
+ virtual void SetSpeedZ(double a_SpeedZ) override;
/** Tries to move to a new position, with attachment-related checks (y == -999) */
void MoveTo(const Vector3d & a_NewPos); // tolua_export