Module scenes

Source

Enums§

SceneUpdateResult
When a scene wants to add or remove a scene from the stack it should return Push or Pop from Scene.update

Traits§

PrePost
Scene
Scenes represent a mode/feature of a programs UI For example in an image editor you could have the main menu, editor, and save dialog as scenes and in an RPG you could have the field, battle and menu screens as scenes

Functions§

empty_pre_post
run_scenes
Convenience method for programs built using Scenes

Type Aliases§

SceneSwitcher
Creates new scenes.