summaryrefslogtreecommitdiffstats
path: root/source/Entities/Entity.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-27 21:38:11 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-27 21:38:11 +0200
commitf1f86c46d37051b16a70bbc3c0c663873ccdf2eb (patch)
treea2248ae30558a7cb0b4e460c415c2107e48801c1 /source/Entities/Entity.h
parentFixed iron door opening by hand (diff)
downloadcuberite-f1f86c46d37051b16a70bbc3c0c663873ccdf2eb.tar
cuberite-f1f86c46d37051b16a70bbc3c0c663873ccdf2eb.tar.gz
cuberite-f1f86c46d37051b16a70bbc3c0c663873ccdf2eb.tar.bz2
cuberite-f1f86c46d37051b16a70bbc3c0c663873ccdf2eb.tar.lz
cuberite-f1f86c46d37051b16a70bbc3c0c663873ccdf2eb.tar.xz
cuberite-f1f86c46d37051b16a70bbc3c0c663873ccdf2eb.tar.zst
cuberite-f1f86c46d37051b16a70bbc3c0c663873ccdf2eb.zip
Diffstat (limited to 'source/Entities/Entity.h')
-rw-r--r--source/Entities/Entity.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Entities/Entity.h b/source/Entities/Entity.h
index 820405cb9..7ae70b8cf 100644
--- a/source/Entities/Entity.h
+++ b/source/Entities/Entity.h
@@ -351,6 +351,9 @@ protected:
bool m_bOnGround;
float m_Gravity;
+
+ // Measured in Kilograms (Kg)
+ double m_Mass;
// Last Position.
double m_LastPosX, m_LastPosY, m_LastPosZ;
@@ -399,9 +402,6 @@ private:
// Measured in meter / second
Vector3d m_WaterSpeed;
- // Measured in Kilograms (Kg)
- double m_Mass;
-
/// Width of the entity, in the XZ plane. Since entities are represented as cylinders, this is more of a diameter.
double m_Width;