#include <animation_player.h>
Public Member Functions | |
| virtual bool | animationPlaybackShouldStop () const =0 |
| virtual void | presentAnimationFrame ()=0 |
| virtual bool | waitForAnimationFrame (uint32 millis, bool allowSkip)=0 |
| virtual bool | consumeAnimationFastForwardRequest () |
| virtual void | handleAnimationFrameEvent (const AnimationFrameEvent &event, uint frame) |
| virtual void | handleAnimationFrameHook (byte hookId, uint frame) |
Drives an inclusive frame range on any target exposing setFrame(byte).
Events run after the target changes and before the frame wait. The delegate owns event pumping and scene advancement; playAndPresent() also asks it to present every new frame immediately. A range may present its terminal frame without holding it for another interval. A delegate may consume a step advance by installing the remaining frames and events immediately; other interruptions stop playback.