1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Scripting WIP

This commit is contained in:
Perttu Ahola 2011-11-12 15:14:24 +02:00
parent 38944467d3
commit 75a0ca6bd6
14 changed files with 148 additions and 15 deletions

View file

@ -76,6 +76,9 @@ public:
// continuous: if true, object does not stop immediately at pos
virtual void moveTo(v3f pos, bool continuous)
{ setBasePosition(pos); }
// If object has moved less than this and data has not changed,
// saving to disk may be omitted
virtual float getMinimumSavedMovement(){ return 2.0*BS; }
/*
Step object in time.