file: FXGLScene.aus

class: FXGLScene

[20:7] extends: Scene

Wraps FXGL's FXGLScene, the abstract base for every FXGL-engine scene (GameScene, LoadingScene, FXGLMenu). FXGLScene adds a Viewport, padding rectangles, and shortcuts for setting the cursor and background. The constructor requires a running FXGL engine because it reads the application width / height from FXGL.getAppWidth / getAppHeight at init time. Aussom users hold an FXGLScene wrapper via adopt after obtaining one from the engine; direct construction from Aussom is not supported here.

Methods