file: PropertyMap.aus

class: PropertyMap

[22:7] extends: SerializableType

Wraps FXGL's PropertyMap, the observable key/value store that holds game variables across FXGL. Entity.getProperties, GameWorld.properties, Level.properties, SceneService.worldProperties, EngineService onVarsInitialized / onGameReady callbacks, QuestService.newQuest, and AchievementService all surface this type. Values are stored as JavaFX Property objects so listeners fire on every mutation. Aussom users construct a PropertyMap, populate it with setValue, read with the typed getters (getInt, getDouble, getString, getBoolean, getObject), and observe via addListener at the map level or addKeyListener / addPropertyListener for one specific key.

Methods