some cleanups in the sprite class, increased delta for collision response
[supertux.git] / src / player.h
index bc47b13..ada9e96 100644 (file)
@@ -111,7 +111,7 @@ public:
     delete feet;
   }
 
-  void set_action(std::string action);
+  void set_action(std::string action, int loops = -1);
   void one_time_animation();
   void draw(DrawingContext& context, const Vector& pos, int layer,
                 Uint32 drawing_effect = NONE_EFFECT);