diff options
Diffstat (limited to 'src/content_sao.cpp')
-rw-r--r-- | src/content_sao.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/content_sao.cpp b/src/content_sao.cpp index e9e6543d9..f195b16bd 100644 --- a/src/content_sao.cpp +++ b/src/content_sao.cpp @@ -1698,6 +1698,11 @@ void LuaEntitySAO::setVelocity(v3f velocity) m_velocity = velocity; } +v3f LuaEntitySAO::getVelocity() +{ + return m_velocity; +} + void LuaEntitySAO::setAcceleration(v3f acceleration) { m_acceleration = acceleration; @@ -1708,6 +1713,16 @@ v3f LuaEntitySAO::getAcceleration() return m_acceleration; } +void LuaEntitySAO::setYaw(float yaw) +{ + m_yaw = yaw; +} + +float LuaEntitySAO::getYaw() +{ + return m_yaw; +} + void LuaEntitySAO::setTextureMod(const std::string &mod) { std::ostringstream os(std::ios::binary); |