summaryrefslogtreecommitdiffstats
path: root/source/Entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Entity.cpp21
1 files changed, 19 insertions, 2 deletions
diff --git a/source/Entity.cpp b/source/Entity.cpp
index 514777d18..09cb3d030 100644
--- a/source/Entity.cpp
+++ b/source/Entity.cpp
@@ -498,8 +498,6 @@ bool cEntity::IsA(const char * a_ClassName) const
-//////////////////////////////////////////////////////////////////////////
-// Set orientations
void cEntity::SetRot(const Vector3f & a_Rot)
{
m_Rot = a_Rot;
@@ -521,6 +519,15 @@ void cEntity::SetHeadYaw(double a_HeadYaw)
+void cEntity::SetHeight(double a_Height)
+{
+ m_Height = a_Height;
+}
+
+
+
+
+
void cEntity::SetMass(double a_Mass)
{
if (a_Mass > 0)
@@ -612,6 +619,16 @@ void cEntity::SetSpeedZ(double a_SpeedZ)
+
+void cEntity::SetWidth(double a_Width)
+{
+ m_Width = a_Width;
+}
+
+
+
+
+
void cEntity::AddPosX(double a_AddPosX)
{
m_Pos.x += a_AddPosX;