X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fobject%2Fwind.hpp;h=8411ca296b865a486eec259cb1d561d7eb9870b5;hb=a113d3bd1feddd510e3b2852b0d42522735eee40;hp=2da07d968309b9bbbb84512d497c07f592e0d492;hpb=ff4c6994b952e26b854461d739eb3bcbfc30719f;p=supertux.git diff --git a/src/object/wind.hpp b/src/object/wind.hpp index 2da07d968..8411ca296 100644 --- a/src/object/wind.hpp +++ b/src/object/wind.hpp @@ -28,7 +28,7 @@ class Player; -/** +/** * Defines an area that will gently push Players in one direction */ class Wind : public MovingObject, public ScriptInterface @@ -39,12 +39,12 @@ public: void update(float elapsed_time); void draw(DrawingContext& context); HitResponse collision(GameObject& other, const CollisionHit& hit); - + /** * start blowing */ void start(); - + /** * stop blowing */ @@ -52,10 +52,10 @@ public: 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; @@ -64,4 +64,3 @@ private: }; #endif -