file: StartupScene.aus

class: StartupScene

[22:7] extends: FXGLScene

Wraps FXGL's abstract StartupScene (com.almasb.fxgl.app.scene.StartupScene), the FXGLScene shown the instant the game window opens, before any FXGL services are ready. Switched out as soon as the main loop begins, so subclasses should avoid animation -- the scene is for snap-fast first paint only. The class extends FXGLScene with an (appWidth, appHeight) constructor. Direct construction from Aussom is not supported because StartupScene itself is abstract. Pick FXGLStartupScene for the built-in version, or return a custom subclass from a SceneFactory.newStartup override.

Methods