summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-11 08:16:38 +0200
committerarchshift <admin@archshift.com>2014-06-11 16:52:34 +0200
commitaa7c82580f2493052d119b1f27d5255c1609aa19 (patch)
treed2e21478c29b8d126593778f44b6975cdac77356 /src/Entities/Entity.h
parentAdded doxy-comments (diff)
downloadcuberite-aa7c82580f2493052d119b1f27d5255c1609aa19.tar
cuberite-aa7c82580f2493052d119b1f27d5255c1609aa19.tar.gz
cuberite-aa7c82580f2493052d119b1f27d5255c1609aa19.tar.bz2
cuberite-aa7c82580f2493052d119b1f27d5255c1609aa19.tar.lz
cuberite-aa7c82580f2493052d119b1f27d5255c1609aa19.tar.xz
cuberite-aa7c82580f2493052d119b1f27d5255c1609aa19.tar.zst
cuberite-aa7c82580f2493052d119b1f27d5255c1609aa19.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index ed67465a3..ecd26b194 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -220,11 +220,18 @@ public:
Vector3d m_Speed;
// tolua_begin
+ /** Sets the speed of the entity and moves them in the given speed. */
virtual void SetSpeed (double a_SpeedX, double a_SpeedY, double a_SpeedZ);
+ /** Sets the speed of the entity and moves them in the given speed. */
void SetSpeed (const Vector3d & a_Speed) { SetSpeed(a_Speed.x, a_Speed.y, a_Speed.z); }
+
+ /** Sets the speed for the X axis */
virtual void SetSpeedX (double a_SpeedX);
+ /** Sets the speed for the Y axis */
virtual void SetSpeedY (double a_SpeedY);
+ /** Sets the speed for the Z axis */
virtual void SetSpeedZ (double a_SpeedZ);
+
void SetWidth (double a_Width);
void AddPosX (double a_AddPosX);