Basics
Guides
API Reference
Basics
Guides
API Reference
[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.
FxglSubScene ()
Creates a new empty AussomFxglSubScene.
adopt (object Ajo)
Wraps an existing FXGL SubScene AussomJavaObject.
Ajo is an AussomJavaObject around a SubScene.A new wrapper.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.