20 #ifndef ANTKEEPER_ANIMATOR_HPP
21 #define ANTKEEPER_ANIMATOR_HPP
24 #include <unordered_set>
62 std::unordered_set<animation_base*> animations;
63 std::list<animation_base*> animations_to_add;
64 std::list<animation_base*> animations_to_remove;
Abstract base class for keyframe animations.
Progresses a set of animations.
void remove_animation(animation_base *animation)
Removes an animation from the animator.
void add_animation(animation_base *animation)
Adds an animation to the animator.
void animate(float dt)
Progresses all active animations by dt.
void remove_animations()
Removes all animations from the animator.
animator()
Constructs an animator.