Precalculated renderer specific surface data, better management of multiple renderers...
[supertux.git] / src / scripting / player.hpp
index d90784c..5fe8713 100644 (file)
@@ -73,7 +73,7 @@ public:
   virtual void kill(bool completely) = 0;
 
   /**
-   * Switches ghost mode on/off. 
+   * Switches ghost mode on/off.
    * Lets Tux float around and through solid objects.
    */
   virtual void set_ghost_mode(bool enable) = 0;
@@ -83,7 +83,7 @@ public:
    */
   virtual bool get_ghost_mode() = 0;
 
-  /** 
+  /**
    * play cheer animation.
    * This might need some space and behave in an unpredictable way. Best to use this at level end.
    */
@@ -111,10 +111,13 @@ public:
    */
   virtual void do_jump(float yspeed) = 0;
 
+  /**
+   * Orders the current GameSession to start a sequence
+   */
+  virtual void trigger_sequence(std::string sequence_name) = 0;
 
 };
 
 }
 
 #endif
-