file: Scene.aus

class: Scene

[19:7] extends: State

Wraps FXGL's Scene (com.almasb.fxgl.scene.Scene), the abstract base for every FXGL scene type. A Scene has its own scene-local Input, Timer, and content Pane (contentRoot). FXGLScene, GameScene, LoadingScene, FXGLMenu, and SubScene all extend it. Scene is abstract; Aussom users hold a Scene wrapper via adopt after obtaining one from the running engine (for example fxgl.getSceneService().getCurrentScene in chunk 6). The shared accessors here apply to every concrete scene type.

Methods