diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-09 20:46:56 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-10 11:28:13 +0200 |
commit | 8db89b8136686a5721080d18e8a14f03404aa095 (patch) | |
tree | a6a87bc6a50b9ab2030930faae35ed22814c7669 /src/content_sao.h | |
parent | 8c01ad8a9da86fc76bc9a180ccab10ede726625a (diff) | |
download | minetest-8db89b8136686a5721080d18e8a14f03404aa095.tar.gz minetest-8db89b8136686a5721080d18e8a14f03404aa095.tar.bz2 minetest-8db89b8136686a5721080d18e8a14f03404aa095.zip |
LuaEntity armor groups
Diffstat (limited to 'src/content_sao.h')
-rw-r--r-- | src/content_sao.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content_sao.h b/src/content_sao.h index 507631d2a..53e701d8c 100644 --- a/src/content_sao.h +++ b/src/content_sao.h @@ -71,6 +71,7 @@ public: void setSprite(v2s16 p, int num_frames, float framelength, bool select_horiz_by_yawpitch); std::string getName(); + void setArmorGroups(const ItemGroupList &armor_groups); private: void sendPosition(bool do_interpolate, bool is_movement_end); @@ -90,6 +91,7 @@ private: v3f m_last_sent_velocity; float m_last_sent_position_timer; float m_last_sent_move_precision; + bool m_armor_groups_sent; }; #endif |