file: FxglSubScene.aus

class: FxglSubScene

[24:7] extends: Scene

Wraps FXGL's SubScene (com.almasb.fxgl.scene.SubScene), the abstract scene type that overlays the active scene without replacing it. Pushed and popped through SceneService.pushSubScene / popSubScene; useful for pause menus, modal overlays, and cutscene wrappers. Named FxglSubScene to disambiguate from the existing fx.SubScene wrapper, which wraps javafx.scene.SubScene (the 3D viewport container, see chunk 1). The no-arg constructor builds an AussomFxglSubScene, a concrete SubScene subclass with no extra behavior, so Aussom code can push a subscene without writing a Java helper subclass first.

Methods