pub fn milliseconds_per_tick(self) -> u32 {
        match self {
            GameSpeed::Normal => BASE_MILLISECONDS_PER_TICK,
            GameSpeed::Fast => BASE_MILLISECONDS_PER_TICK / 2,
            GameSpeed::Faster => BASE_MILLISECONDS_PER_TICK / 4,
        }
    }
/// The number of milliseconds to wait between ticks.
The number of milliseconds to wait between ticks.
The number of milliseconds to wait between ticks .
pub fn milliseconds_per_tick(self) -> u32 {
        match self {
            GameSpeed::Normal => BASE_MILLISECONDS_PER_TICK,
            GameSpeed::Fast => BASE_MILLISECONDS_PER_TICK / 2,
            GameSpeed::Faster => BASE_MILLISECONDS_PER_TICK / 4,
        }
    }
pub fn milliseconds_per_tick ( self ) -> u32 { match self { GameSpeed :: Normal => BASE_MILLISECONDS_PER_TICK , GameSpeed :: Fast => BASE_MILLISECONDS_PER_TICK / 2 , GameSpeed :: Faster => BASE_MILLISECONDS_PER_TICK / 4 , } }
The number of milliseconds to wait between ticks.
The number of milliseconds to wait between ticks .
self
self