X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fplayer.h;h=3cbeb2ed09127bd2c4189308ecf3bd86399a6c61;hb=4d3df5a40dfea474da0f15d8f2c6c755738bb7f6;hp=13396eab1a9c71dbf7f556b184c3634ffcd7db8f;hpb=b07cf50def5bb82b3c13529baa75fdf248644cea;p=supertux.git diff --git a/src/player.h b/src/player.h index 13396eab1..3cbeb2ed0 100644 --- a/src/player.h +++ b/src/player.h @@ -110,6 +110,7 @@ public: ~TuxBodyParts() { }; void set_action(std::string action); + void start_animation(int loops, std::string next_action = ""); void draw(DrawingContext& context, const Vector& pos, int layer, Uint32 drawing_effect = NONE_EFFECT); @@ -160,6 +161,7 @@ public: Timer shooting_timer; // used to show the arm when Tux is shooting Timer dying_timer; Timer growing_timer; + Timer idle_timer; Physic physic; public: