X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fplayer.h;h=0897674e750f977d8931bb645124025c2fdde421;hb=be7f9f65018ed21515d389e8bd50f6f1eb988375;hp=3cbeb2ed09127bd2c4189308ecf3bd86399a6c61;hpb=4d3df5a40dfea474da0f15d8f2c6c755738bb7f6;p=supertux.git diff --git a/src/player.h b/src/player.h index 3cbeb2ed0..0897674e7 100644 --- a/src/player.h +++ b/src/player.h @@ -110,7 +110,7 @@ public: ~TuxBodyParts() { }; void set_action(std::string action); - void start_animation(int loops, std::string next_action = ""); + void one_time_animation(); void draw(DrawingContext& context, const Vector& pos, int layer, Uint32 drawing_effect = NONE_EFFECT);