file: MiniGameService.aus

class: MiniGameService

[19:7] extends: EngineService

Wraps FXGL's MiniGameService (com.almasb.fxgl.minigames.MiniGameService), the engine service that hosts a minigame inside its own SubScene (or, with the InGame variants, directly in the GameScene). Reach it at runtime via fxgl.getMiniGameService(). Each startXxx method pushes a new subscene and fires the Aussom callback (wrapped as a Consumer) once the minigame completes.

Methods