![]() |
Middle Europe Productions Library
alpha 1.3.3
|
Designed to control a set of animations. More...
#include <AnimationManager.h>
Public Member Functions | |
| AnimationManager (BaseWindow &base) | |
| template<typename X > | |
| void | add (X *animation, MEP::U_int32 ID, MEP::U_int32 group=-1, MEP::U_int32 renderGroup=-1) |
| template<typename X > | |
| X & | get (MEP::U_int32 ID, MEP::U_int32 group=-1) |
| template<typename X > | |
| void | run (const Direction direc, MEP::U_int32 ID, MEP::U_int32 group=-1, sf::Time currentTime=sf::Time::Zero) |
| void | runGroup (const Direction direc, MEP::U_int32 group=-1, sf::Time currentTime=sf::Time::Zero) |
| template<typename Method > | |
| void | executeGroup (Method method, MEP::U_int32 group=-1) |
| void | debugOutput (std::ostream &out) |
Designed to control a set of animations.
|
inline |
Constructor with the automatic assignment of the values to the BaseWindow Drawable container.
|
inline |
Addition.
|
inline |
Outputs the debug information.
|
inline |
Execute a method for a group of objects. Example: [&direc, ¤tTime](auto& x) { x.second->run(direc, currentTime); }, group); }, will run the animation.
|
inline |
Outputs the animation.
|
inline |
Run the animation.
|
inline |
Runs a a group of animations.