file: IntroScene.aus

class: IntroScene

[23:7] extends: FXGLScene

Wraps FXGL's abstract IntroScene (com.almasb.fxgl.app.scene.IntroScene), the FXGLScene shown before the main game when GameSettings.isIntroEnabled is true. Subclasses implement startIntro() to drive the intro animation; they must eventually call the protected finishIntro() hook for the engine to advance to the next state. Direct construction from Aussom is not supported because the class is abstract. Pick FXGLIntroScene for the built-in intro, or return a custom subclass from a SceneFactory override of newIntro. Aussom users hold an IntroScene wrapper via adopt.

Methods