Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: FXGLStartupScene

[15:7] extends: StartupScene

Wraps FXGL's FXGLStartupScene (com.almasb.fxgl.app.scene.FXGLStartupScene), the engine's default first-paint scene (simple FXGL symbol on a solid background). Sized to the app width / height passed to the constructor.

Methods

  • FXGLStartupScene (AppWidth = null, int AppHeight = 0)

    Creates a new FXGLStartupScene. Pass null for AppWidth to construct an empty wrapper for adopt.

    • @p AppWidth is the application width in pixels, or null.
    • @p AppHeight is the application height in pixels.
  • adopt (object Ajo)

    Wraps an existing FXGLStartupScene AussomJavaObject.

    • @p Ajo is an AussomJavaObject around an FXGLStartupScene.
    • @r A new wrapper.