file: GameSettings.aus

class: GameSettings

[22:14] (extern: com.lehman.aussom.stdlib.fxgl.AussomGameSettings) extends: object

Wraps FXGL's GameSettings, the configuration object passed to fxglApp.onInitSettings. Provides fluent setters for the common properties games tune at startup. Backed directly by the underlying FXGL GameSettings instance, so changes apply immediately. Typical use: app = fxgl.gameApp("My Game", 800, 600); app.onInitSettings(::settings); ... public settings(s) { s.setVersion("1.0"); s.setFullScreenAllowed(true); s.setMainMenuEnabled(true); }

Methods