file: OfflineTimer.aus

class: OfflineTimer

[15:7] extends: LocalTimer

Wraps FXGL's OfflineTimer (com.almasb.fxgl.time.OfflineTimer), a persisted-across-restarts capture timer for "24-hour reward" style features. The last capture() time is written to a Bundle so it survives game restarts when the Bundle is persisted via SaveLoadService.

Methods