forgot some files
[supertux.git] / src / scripting / player.hpp
index 58f1041..5796524 100644 (file)
@@ -15,14 +15,10 @@ public:
 #if 0
   /**
    * Set tux bonus.
-   * This can be "grow", "fireflow" or "iceflower" at the moment
+   * This can be "grow", "fireflower" or "iceflower" at the moment
    */
   virtual void set_bonus(const std::string& bonus) = 0;
   /**
-   * Make tux invicible for a short amount of time
-   */
-  virtual void make_invincible() = 0;
-  /**
    * Give tux another life
    */
   virtual void add_life() = 0;
@@ -31,6 +27,31 @@ public:
    */
   virtual void add_coins(int count) = 0;
 #endif
+  /**
+   * Make tux invicible for a short amount of time
+   */
+  virtual void make_invincible() = 0;
+  /**
+   * Deactivate user input for Tux
+   */
+  virtual void deactivate() = 0;
+  /**
+   * Give control back to user
+   */
+  virtual void activate() = 0;
+  /**
+   * Make Tux walk
+   */
+  virtual void walk(float speed) = 0;
+  /**
+   * Set player visible or not visible
+   */
+  virtual void set_visible(bool visible) = 0;
+  /**
+   * returns true if the player is currently visible (that is he was not set
+   * inivisible by the set_visible method)
+   */
+  virtual bool get_visible() = 0;
 };
 
 }