package util Timer :: struct { time: f32, } tick_timer :: proc(timer: ^Timer, by: f32) -> bool { timer.time -= by return timer.time < 0 }