TimerCallback
ceramic.TimerCallback (Class)
Internal data structure representing a scheduled timer callback. Tracks the callback function, timing information, and cancellation state.
Instance Members
owner: Entity
The entity that owns this timer. If the owner is destroyed, the timer is automatically cancelled.
time: Float
The next time (in Timer.now units) when this callback should execute.
interval: Float
For repeating timers, the interval between executions. -1 indicates a one-shot timer.
cleared: Bool
Whether this timer has been cancelled and should no longer execute.
callback(): Void
The callback function to execute when the timer fires.
clear(): Void
Cancel this timer callback. The callback will not execute again after calling this method.
new(): Void