mini_arcade_core.scenes.systems.builtins.animation

Animation system helpers for scene pipelines.

Classes

HasAnim

Structural contract for entities with an animation component.

AnimationTickSystem

Step entity animations during presentation.

Module Contents

class mini_arcade_core.scenes.systems.builtins.animation.HasAnim[source]

Bases: Protocol

Structural contract for entities with an animation component.

anim: object | None
life: object | None
class mini_arcade_core.scenes.systems.builtins.animation.AnimationTickSystem[source]

Step entity animations during presentation.

Current entities use Anim2D.step(dt). A small compatibility path is kept for older animation objects that still expose update/current_frame.

name: str = 'common_anim_tick'
phase: int
order: int = 0
get_entities: Callable[[object], Iterable[HasAnim]]
step(ctx: object) None[source]

Advance animations for all alive entities provided by get_entities.