Move game logic plugin configuration to game-specific plugin
This commit is contained in:
parent
d6c4741582
commit
73ea0d6fd8
10 changed files with 136 additions and 70 deletions
9
src/game/state.rs
Normal file
9
src/game/state.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
use bevy::prelude::*;
|
||||
|
||||
#[derive(States, Default, Debug, Clone, PartialEq, Eq, Hash)]
|
||||
#[states(scoped_entities)]
|
||||
pub enum AppState {
|
||||
#[default]
|
||||
Loading,
|
||||
InGame,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue