WIP decoupled rendering
This commit is contained in:
@@ -21,6 +21,7 @@ pub const Timer = struct {
|
||||
self.pause_ticks_ms = 0;
|
||||
}
|
||||
|
||||
// Resets the timer to 0 and starts it
|
||||
pub fn reset(self: *Timer) void {
|
||||
self.status = .started;
|
||||
self.start_ticks_ms = sdl.SDL_GetTicks();
|
||||
|
||||
Reference in New Issue
Block a user