file: MiniGame.aus

class: MiniGame

[20:7] extends: FxObj

Wraps FXGL's abstract MiniGame (com.almasb.fxgl.minigames.MiniGame), the base type for every built-in minigame (CircuitBreaker, LockPick, SweetSpot, TriggerMash, TriggerSequence, RandomOccurrence). Carries the minigame's MiniGameResult once isDone becomes true, plus the tpf-driven update loop that the MiniGameView subscene runs. Aussom code typically uses the concrete subclass wrappers (CircuitBreakerMiniGame, SweetSpotMiniGame, etc.) rather than this base; the base wrapper is for adopt flows and shared inspection.

Methods