Fix issue with action not being updated when typing grow()/fire()/etc in console...
[supertux.git] / src / object / endsequence.hpp
index 07f1267..f7ac647 100644 (file)
@@ -31,7 +31,7 @@ class EndSequence : public GameObject
 public:
     EndSequence();
     virtual ~EndSequence();
-  
+
     virtual void update(float elapsed_time);
     virtual void draw(DrawingContext& context);
 
@@ -46,14 +46,10 @@ protected:
     virtual void running(float elapsed_time); /**< called while the EndSequence is running */
     virtual void stopping(); /**< called when EndSequence stops */
 
-    CodeController* end_sequence_controller;
-    float last_x_pos;
-    Timer endsequence_timer;
-
-private:
     bool isrunning; /**< true while EndSequence plays */
     bool isdone; /**< true if EndSequence has finished playing */
     bool tux_may_walk; /**< true while tux is allowed to walk */
+    CodeController* end_sequence_controller;
 
 };