summaryrefslogtreecommitdiff
path: root/src/content_sao.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-01-02 16:19:52 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-01-02 16:19:52 +0200
commit56f55ab1af941c5a7c7a7aef4217189f9f2d1680 (patch)
tree6af7ec25507ab666ffd8e5d6d082600fd31353c7 /src/content_sao.h
parent2445cbbbdca54d40d1c0a069cc360b06bf44d291 (diff)
downloadminetest-56f55ab1af941c5a7c7a7aef4217189f9f2d1680.tar.gz
minetest-56f55ab1af941c5a7c7a7aef4217189f9f2d1680.tar.bz2
minetest-56f55ab1af941c5a7c7a7aef4217189f9f2d1680.zip
Add ObjectRef:getvelocity(), ObjectRef:setyaw() and ObjectRef:getyaw()
Diffstat (limited to 'src/content_sao.h')
-rw-r--r--src/content_sao.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content_sao.h b/src/content_sao.h
index d56fdb709..c2bb9c3f5 100644
--- a/src/content_sao.h
+++ b/src/content_sao.h
@@ -213,8 +213,11 @@ public:
float getMinimumSavedMovement();
/* LuaEntitySAO-specific */
void setVelocity(v3f velocity);
+ v3f getVelocity();
void setAcceleration(v3f acceleration);
v3f getAcceleration();
+ void setYaw(float yaw);
+ float getYaw();
void setTextureMod(const std::string &mod);
void setSprite(v2s16 p, int num_frames, float framelength,
bool select_horiz_by_yawpitch);