1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-24 21:35:21 +02:00

Scripting WIP

This commit is contained in:
Perttu Ahola
2011-11-12 11:59:56 +02:00
parent dcedfdacd1
commit 526eedf98e
8 changed files with 203 additions and 100 deletions

View File

@@ -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