file: fxgl.aus

class: fxglPane

[1099:7] extends: FxObj

Wraps the JavaFX FXGLPane returned by fxglApp.embeddedLaunch. The underlying pane is a javafx.scene.layout.Region, so this wrapper extends FxObj and composes with every fx layout wrapper that adds children through their .obj member (VBox.add, HBox.add, BorderPane.setCenter, and so on).

Methods

class: fxgl

[19:21] static (extern: com.lehman.aussom.stdlib.fxgl.AussomFxgl) extends: object

Root of the FXGL game engine support in Aussom. Provides the gameApp factory used to construct an FXGL GameApplication wrapper for either standalone launch (fxgl owns the Stage) or embedded launch (the returned FXGLPane is placed inside an existing fxApp layout). FXGL and fx.fxApp cannot both initialize JavaFX in the same JVM. Once a standalone fxgl.gameApp(...).launch() has started, fx.fxApp throws. Embedded launch is fine after fx.fxApp because it reuses the JavaFX runtime already started by fx.fxApp.

Methods