Skip to content

tickTimer

tickTimer(t, dtMs): void

Defined in: src/modules/timer/timer.ts:41

Advance t by dtMs. A 'once' timer clamps to zero and latches; a 'repeating' timer wraps (coalescing multiple wraps in one tick into a single justFinished). Mutates t in place.

Timer

number

void