file: ReadOnlyGameSettings.aus

class: ReadOnlyGameSettings

[20:7] extends: SerializableType

Wraps FXGL's ReadOnlyGameSettings, the runtime view of the settings object returned by FXGL.getSettings() once the game is running. Distinct from the pre-launch GameSettings wrapper used inside onInitSettings: this one exposes the live, post-launch values that game code reads and writes at runtime (global volumes, language, difficulty, fullscreen toggle, dev overlays, scaled width / height). Obtain via fxgl.getSettings() (DSL facade). Not user constructible.

Methods