From af1bec81ced9fb6acaefcabbf426b555c0536fcf Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 30 Jul 2024 21:51:46 -0700 Subject: [PATCH] timer comments --- src/timer.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/timer.rs b/src/timer.rs index 9f2570c..6380d6f 100644 --- a/src/timer.rs +++ b/src/timer.rs @@ -1,5 +1,10 @@ use strafesnet_common::integer::{Time,Ratio64}; +//this could be about half as long if I only had +//scaled timers and just used a scale of 1 +//but I thought the concept of a timer that could +//only be paused and not scaled was cool + pub trait TimerState:Copy{ fn get_time(&self,time:Time)->Time; fn set_time(&mut self,time:Time,new_time:Time);