class Nya::SceneManager
- Nya::SceneManager
- Reference
- Object
Defined in:
nya/scene_manager.crClass Method Summary
-
.current_scene
Returns current scene object.
-
.current_scene=(s : Nil | Nya::Scene)
Sets the current scene
- .current_scene?
-
.load_from_file(filename : String)
Loads current scene from file
- .render(tag)
-
.update
Updates current scene
Instance Method Summary
-
#render(tag : String | Nil = nil)
Renders current scene with
tag
(Tag is used for selective rendering)
Class Method Detail
Instance Method Detail
def render(tag : String | Nil = nil)
#
Renders current scene with tag
(Tag is used for selective rendering)