file: Timer.aus

class: Timer

[17:7] extends: FxObj

Wraps FXGL's Timer service that drives every TimerAction in a scene. Aussom users construct a Timer (or obtain the engine timer through fxgl.getGameTimer in chunk 6) and schedule callbacks with runOnceAfter (single-shot delay) or runAtInterval (repeating). Each scheduling call returns a TimerAction the caller can pause / resume / expire later.

Methods