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);
bool falling_from_flap;
bool enable_hover;
bool butt_jump;
- int frame_;
- int frame_main;
float flapping_velocity;
Timer2 invincible_timer;
Timer2 skidding_timer;
Timer2 safe_timer;
- Timer2 frame_timer;
Timer2 kick_timer;
Timer2 shooting_timer; // used to show the arm when Tux is shooting
Timer2 dying_timer;