TimerCallback
ceramic.TimerCallback (Class)
Internal data structure representing a scheduled timer callback. Tracks the callback function, timing information, and cancellation state.
Instance Members
owner: EntityThe entity that owns this timer. If the owner is destroyed, the timer is automatically cancelled.
time: FloatThe next time (in Timer.now units) when this callback should execute.
interval: FloatFor repeating timers, the interval between executions. -1 indicates a one-shot timer.
cleared: BoolWhether this timer has been cancelled and should no longer execute.
callback(): VoidThe callback function to execute when the timer fires.
clear(): VoidCancel this timer callback. The callback will not execute again after calling this method.
new(): VoidMetadata
| Name | Parameters |
|---|---|
:hxGen |
- |