API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classTweenManager
Owns and advances a collection of Tween instances, driving them once per frame from Application.update. Created tweens are tracked automatically; manually constructed tweens can be opted in via TweenManager.add. Update iteration uses a snapshot so callbacks may freely add or remove tweens during the same frame without corrupting the loop. Completed and stopped tweens are evicted automatically.
import { TweenManager } from '@codexo/exojs' Owns and advances a collection of Tween instances, driving them once per frame from Application.update. Created tweens are tracked automatically; manually constructed tweens can be opted in via TweenManager.add.
Update iteration uses a snapshot so callbacks may freely add or remove tweens during the same frame without corrupting the loop. Completed and stopped tweens are evicted automatically.
new(): TweenManager add(tween: Tween): this clear(): this create(target: T): Tween<T> destroy(): void remove(tween: Tween): this sequence(tweens: readonly Tween<object>[]): Tween update(deltaSeconds: number): void