Interface AnimationManager
interface AnimationManager {
animations: AnimationTask[];
engine?: EngineContext;
fixedDeltaMs: number;
onUpdate?: (deltaMs: number) => void;
running: boolean;
}
animations: AnimationTask[];
engine?: EngineContext;
fixedDeltaMs: number;
onUpdate?: (deltaMs: number) => void;
running: boolean;
}
Owns a set of AnimationTasks and ticks them, either manually or via its own requestAnimationFrame loop.