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

Reshape LuaEntityCAO implementation a bit and make TNT to blink

This commit is contained in:
Perttu Ahola
2011-11-26 12:35:30 +02:00
parent 1ce749c86a
commit 70363847aa
6 changed files with 373 additions and 307 deletions

View File

@@ -216,8 +216,10 @@ public:
void setPos(v3f pos);
void moveTo(v3f pos, bool continuous);
float getMinimumSavedMovement();
/* LuaEntitySAO-specific */
void setVelocity(v3f velocity);
void setAcceleration(v3f acceleration);
void setTextureMod(const std::string &mod);
private:
void sendPosition(bool do_interpolate, bool is_movement_end);