Update CMake to 3.2.1 in .travis.yml
[supertux.git] / src / scripting / player.hpp
index 80e04ce..a8f63b7 100644 (file)
@@ -57,6 +57,10 @@ public:
    */
   virtual void walk(float speed) = 0;
   /**
+   * Face Tux in the proper direction
+   */
+  virtual void set_dir(bool right) = 0;
+  /**
    * Set player visible or invisible
    */
   virtual void set_visible(bool visible) = 0;
@@ -84,6 +88,11 @@ public:
   virtual bool get_ghost_mode() = 0;
 
   /**
+   * start kick animation
+   */
+  virtual void kick() = 0;
+
+  /**
    * play cheer animation.
    * This might need some space and behave in an unpredictable way. Best to use this at level end.
    */
@@ -122,7 +131,7 @@ public:
   virtual void use_scripting_controller(bool use_or_release) = 0;
 
   /**
-   * Instructs the scriptable controller to press or release a button 
+   * Instructs the scriptable controller to press or release a button
    */
   virtual void do_scripting_controller(std::string control, bool pressed) = 0;