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

LuaEntity armor groups

This commit is contained in:
Perttu Ahola
2012-03-09 20:46:56 +02:00
parent 8c01ad8a9d
commit 8db89b8136
7 changed files with 67 additions and 6 deletions

View File

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