diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-21 14:58:21 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-21 14:58:21 +0200 |
commit | a4d903aa15a6a970475ef95c41905a62e6173161 (patch) | |
tree | 500082c70a6bae8d79fa7d520bc12cff46e6a865 /source/Entity.cpp | |
parent | Added Decoda projects for ChunkWorx and Core (diff) | |
download | cuberite-a4d903aa15a6a970475ef95c41905a62e6173161.tar cuberite-a4d903aa15a6a970475ef95c41905a62e6173161.tar.gz cuberite-a4d903aa15a6a970475ef95c41905a62e6173161.tar.bz2 cuberite-a4d903aa15a6a970475ef95c41905a62e6173161.tar.lz cuberite-a4d903aa15a6a970475ef95c41905a62e6173161.tar.xz cuberite-a4d903aa15a6a970475ef95c41905a62e6173161.tar.zst cuberite-a4d903aa15a6a970475ef95c41905a62e6173161.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Entity.cpp | 21 |
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; |