Added missing includes to Squirrel and SuperTux to make -DENABLE_SQDBG=ON compile...
[supertux.git] / src / scripting / player.hpp
index 5d0ed5c..3551f50 100644 (file)
@@ -21,7 +21,7 @@
 #include <string>
 #endif
 
-namespace Scripting {
+namespace scripting {
 
 class Player
 {
@@ -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.
    */