file: DialogService.aus

class: DialogService

[19:7] extends: EngineService

Wraps FXGL's DialogService, the engine service that shows modal dialog scenes from inside a game (message, confirmation, choice, input, error, progress). Reached at runtime via fxgl.getDialogService (chunk 6); obtain a wrapper via adopt. Each show method returns immediately; the dialog closes when the user responds or when the returned DialogBox (for progress) is closed by the caller.

Methods