file: NotificationService.aus

class: NotificationService

[18:7] extends: EngineService

Wraps FXGL's NotificationService, the engine service that displays toast-style messages over the active scene. Reached at runtime via fxgl.getNotificationService (chunk 6); obtain a wrapper via adopt. The default implementation queues notifications, shows each one for three seconds with a one-second slide-in / slide-out animation, and supports configurable background and text colors.

Methods