20 #include <OgreAnimationState.h>
21 #include <OgreEntity.h>
27 typedef std::shared_ptr<Animation>
shared;
33 void activate(Ogre::Entity* entity, std::string animation_name,
35 void activate(Ogre::Entity* entity, std::string animation_name);
~Animation()
Definition: animation.cpp:23
std::shared_ptr< Animation > shared
Definition: animation.h:27
std::map< Ogre::AnimationState *, Callback > active_animations_
Definition: animation.h:40
Animation()
Definition: animation.cpp:19
void update(float deltaT)
Definition: animation.cpp:55
void activate(Ogre::Entity *entity, std::string animation_name, Animation::Callback callback)
Definition: animation.cpp:39
Definition: animation.h:25
std::function< void()> Callback
Definition: animation.h:28