file: fxgl.aus

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