file: AchievementService.aus

class: AchievementService

[19:7] extends: EngineService

Wraps FXGL's AchievementService, the engine service that watches registered achievements and unlocks them when their bound world property crosses the trigger value. Reached at runtime via fxgl.getAchievementService; obtain a wrapper via adopt. Achievements are registered through GameSettings before launch (see GameSettings.getAchievements) -- the service exposes only read-only inspection.

Methods