abstract struct GameScene::BaseScene
- GameScene::BaseScene
- Scene
- Struct
- Value
- Object
Overview
Provides some default commands for game scenes
Direct Known Subclasses
Defined in:
game_scene/base_scene.crInstance Method Summary
-
#commands(state : State) : Array(Command)
Returns an ordered list of commands available to the user.
Instance methods inherited from struct Scene
commands(state : State) : Array(Command)
commands,
initialize
initialize,
persist_scene_state(state : State) : State
persist_scene_state,
render(state : State)
render,
run(state : State) : Tuple(Scene, State) | Nil
run
Constructor methods inherited from struct Scene
new
new
Instance Method Detail
Description copied from struct Scene
Returns an ordered list of commands available to the user.
These commands will be displayed after the scene description produced in #render