mini_arcade_core.engine.scenes.models¶
Models for scene management in the engine.
Classes¶
Controls how a scene behaves in the scene stack. |
|
An entry in the scene stack. |
|
An item in the scene stack. |
Module Contents¶
- class mini_arcade_core.engine.scenes.models.ScenePolicy¶
Controls how a scene behaves in the scene stack.
blocks_update: if True, scenes below do not tick/update (pause modal) blocks_input: if True, scenes below do not receive input is_opaque: if True, scenes below are not rendered receives_input: if True, scene can receive input
- blocks_update: bool = False¶
- blocks_input: bool = False¶
- is_opaque: bool = False¶
- receives_input: bool = True¶
- class mini_arcade_core.engine.scenes.models.SceneEntry¶
An entry in the scene stack.
- Variables:
(str) (scene_id) – Identifier of the scene.
(SimScene) (scene) – The scene instance.
(bool) (is_overlay) – Whether the scene is an overlay.
(ScenePolicy) (policy) – The scene’s policy.
- scene_id: str¶
- is_overlay: bool¶
- policy: ScenePolicy¶
- class mini_arcade_core.engine.scenes.models.StackItem¶
An item in the scene stack.
- Variables:
(SceneEntry) (entry) – The scene entry.
- entry: SceneEntry¶