srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/steam/src/race/mod.rs
blob: 15ad5f3bebdd52994dfc166b94c2a4e299aaca52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use bevy::prelude::*;

pub mod breach;
pub mod signal;
pub mod terminal;

/// Which race visualization is currently on screen. Switchable at runtime
/// (keys 1/2/3 in the demo) so all three can be compared side by side
/// during development instead of committing to one before they're built.
#[derive(States, Debug, Clone, Copy, PartialEq, Eq, Hash, Default)]
pub enum RaceVisual {
    #[default]
    TerminalDuel,
    BreachProtocol,
    SignalRun,
}