Animates animatable objects. More...
#include <wizard_engine/animatable.hpp>
#include <wizard_engine/assets.hpp>
#include <wizard_engine/export.hpp>
Go to the source code of this file.
Classes | |
class | wze::animator |
Namespaces | |
namespace | wze |
Wizard Engine. | |
Animates animatable objects.
Resets the animation.
Animates the targets and erases expired ones, then returns whether the animation is looped or not.
Sets the current frame of the animation.
Returns the current frame of the animation.
Returns the targets of the animation.
Returns the frame pool of the animation.
Constructs an animator instance.
frames | Frame pool of the animation. |
targets | Targets of the animation. |
current_frame | Current frame of the animation. |
Definition in file animator.hpp.