diff options
Diffstat (limited to 'src/content_sao.h')
-rw-r--r-- | src/content_sao.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/content_sao.h b/src/content_sao.h index ef22f2974..4bb35b70d 100644 --- a/src/content_sao.h +++ b/src/content_sao.h @@ -215,11 +215,20 @@ public: u16 punch(const std::string &toolname, v3f dir, const std::string &playername); void rightClick(Player *player); + + void setPos(v3f pos); + void moveTo(v3f pos); private: + void sendPosition(bool do_interpolate); + std::string m_init_name; std::string m_init_state; bool m_registered; struct LuaEntityProperties *m_prop; + + float m_yaw; + float m_last_sent_yaw; + v3f m_last_sent_position; }; #endif |