1 2 3 4 5 6 7 8 9 10 11
use bevy_state::prelude::*; #[derive(Copy, Clone, Debug, PartialEq, Eq, Hash, Default, States)] pub enum GameState { #[default] Loading, Title, Playing, Paused, GameOver, }