X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fwind.hpp;h=e52add7c176350b9ea86b2c9fcafa93b9a3e0777;hb=ae7bd4f460fdd93934fc0abc9589758a49309bda;hp=8411ca296b865a486eec259cb1d561d7eb9870b5;hpb=a113d3bd1feddd510e3b2852b0d42522735eee40;p=supertux.git diff --git a/src/object/wind.hpp b/src/object/wind.hpp index 8411ca296..e52add7c1 100644 --- a/src/object/wind.hpp +++ b/src/object/wind.hpp @@ -41,6 +41,11 @@ public: HitResponse collision(GameObject& other, const CollisionHit& hit); /** + * @name Scriptable Methods + * @{ + */ + + /** * start blowing */ void start(); @@ -50,12 +55,14 @@ public: */ void stop(); + /** + * @} + */ + virtual void expose(HSQUIRRELVM vm, SQInteger table_idx); virtual void unexpose(HSQUIRRELVM vm, SQInteger table_idx); private: - std::string name; /**< user-defined name for use in scripts or empty string if not scriptable */ - bool blowing; /**< true if wind is currently switched on */ Vector speed; float acceleration;