file: Quest.aus

class: Quest

[17:7] extends: FxObj

Wraps FXGL's Quest, a named container of QuestObjectives. Objectives can be int-threshold (variable >= value) or boolean- equality. A quest moves through ACTIVE, COMPLETED, or FAILED states; the state is the aggregate of its objectives' states. Quests are typically created via QuestService.addQuest (reached through fxgl.getQuestService) so they are registered with the service that drives their update loop.

Methods