| 123456789101112131415161718192021222324 |
- #include "anki/event/Event.h"
- #include "anki/resource/Resource.h"
- namespace anki {
- /// @addtogroup Events
- /// @{
- /// Event controled by animation resource
- class AnimationEvent: public Event
- {
- public:
- AnimationEvent(EventManager* manager, const AnimationResourcePointer& anim,
- SceneNode* movableSceneNode);
- /// Implements Event::update
- void update(F32 prevUpdateTime, F32 crntTime);
- private:
- AnimationResourcePointer anim;
- };
- /// @}
- } // end namespace anki
|