center camera on tux feet, so we get no jumps when tux ducks
[supertux.git] / src / object / wind.hpp
index 2da07d9..e52add7 100644 (file)
@@ -28,7 +28,7 @@
 
 class Player;
 
-/** 
+/**
  * Defines an area that will gently push Players in one direction
  */
 class Wind : public MovingObject, public ScriptInterface
@@ -39,23 +39,30 @@ public:
   void update(float elapsed_time);
   void draw(DrawingContext& context);
   HitResponse collision(GameObject& other, const CollisionHit& hit);
-  
+
+  /**
+   * @name Scriptable Methods
+   * @{
+   */
+
   /**
    * start blowing
    */
   void start();
-  
+
   /**
    * stop blowing
    */
   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;
@@ -64,4 +71,3 @@ private:
 };
 
 #endif
-