- $timer(frames, opts?): BpxTimer
Parameters
- frames: number
Optional
opts: {
delayFrames?: number;
loop?: boolean;
onGamePause?: "pause" | "ignore";
paused?: boolean;
}Optional
delayFrames?: number
Optional
loop?: boolean
Optional
onGamePause?: "pause" | "ignore"
Optional
paused?: boolean
A shorthand for BpxTimer.of.