+
+ void draw_part(DrawingContext& context, const Vector& source,
+ const Vector& size, const Vector& pos, int layer,
+ Uint32 drawing_effect = NONE_EFFECT);
+
+ /** Set action (or state) */
+ void set_action(std::string act);
+
+ /* Start an animation
+ -1 - for infinite
+ 0 - stopped
+ 1,2,3 - one, two, three times... */
+ void start_animation(int loops);
+ /* Stop animation */
+ void stop_animation()
+ { start_animation(0); }
+ /** Check if animation is stopped or not */
+ bool check_animation();
+ /** Reverse the animation */
+ void reverse_animation(bool reverse);