forked from StrafesNET/strafe-client
timer comments
This commit is contained in:
parent
8cade8134f
commit
07bb68cf0e
@ -1,5 +1,10 @@
|
|||||||
use strafesnet_common::integer::{Time,Ratio64};
|
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{
|
pub trait TimerState:Copy{
|
||||||
fn get_time(&self,time:Time)->Time;
|
fn get_time(&self,time:Time)->Time;
|
||||||
fn set_time(&mut self,time:Time,new_time:Time);
|
fn set_time(&mut self,time:Time,new_time:Time);
|
||||||
|
Loading…
Reference in New Issue
Block a user