mini_arcade_core.scenes.systems.builtins.pause¶
Reusable pause trigger system driven by intent.
Attributes¶
Classes¶
Generic pause trigger: |
Module Contents¶
- mini_arcade_core.scenes.systems.builtins.pause.TContext¶
- class mini_arcade_core.scenes.systems.builtins.pause.IntentPauseSystem[source]¶
Bases:
mini_arcade_core.scenes.systems.base_system.BaseSystem[TContext],Generic[TContext]Generic pause trigger: - checks ctx.intent.<intent_attr> - optionally runs a local pause callback - pushes the pause command into ctx.commands
- name: str = 'pause_intent'¶
- phase: int¶
- order: int = 12¶
- intent_attr: str = 'pause'¶
- step(ctx: TContext) None[source]¶
Perform a single step of the system within the given context.
- Parameters:
ctx (TSystemContext) – The system context.