use bevy states
despawn plugin buiding plugin
This commit is contained in:
17
engine/world_generation/src/states.rs
Normal file
17
engine/world_generation/src/states.rs
Normal file
@@ -0,0 +1,17 @@
|
||||
use bevy::ecs::schedule::States;
|
||||
|
||||
#[derive(States, Debug, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum GeneratorState {
|
||||
GenerateHeightmap,
|
||||
SpawnMap,
|
||||
Idle,
|
||||
Regenerate,
|
||||
}
|
||||
|
||||
#[derive(States, Debug, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum AssetLoadState {
|
||||
StartLoading,
|
||||
Loading,
|
||||
FinalizeAssets,
|
||||
LoadComplete,
|
||||
}
|
||||
Reference in New Issue
Block a user