X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fendsequence.hpp;h=f7ac6476e790b4172669537bfc1dc1c9b4779108;hb=ae7bd4f460fdd93934fc0abc9589758a49309bda;hp=07f1267c7d11849a78ec6e3c0e3069142dd82112;hpb=f2d345c3ccec7743e39df2f59e546ad415257b81;p=supertux.git diff --git a/src/object/endsequence.hpp b/src/object/endsequence.hpp index 07f1267c7..f7ac6476e 100644 --- a/src/object/endsequence.hpp +++ b/src/object/endsequence.hpp @@ -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; };