[back to index]
Change the game's current scene.
Discard and reload the named scene. Doesn't change to it (you still need to call Scene.change() afterwards), and doesn't have to be the currently running scene.
Returns the name of a scene as a String.
Advanced! Returns an instance of the required scene. Can be used to access that Scene's member variables, though alternatively you could just make that scene's functions static.