#[derive(Debug, Clone, Copy, PartialEq)]
pub struct TimeScale {
    pub multiplier: f64,
}

impl TimeScale {
    pub fn realtime() -> Self {
        Self { multiplier: 1.0 }
    }
    pub fn fast_forward(multiplier: f64) -> Self {
        Self { multiplier }
    }
    pub fn advance_seconds(&self, dt_seconds: f64) -> f64 {
        dt_seconds * self.multiplier
    }
}
