Compare commits
1 commit
070c475dae
...
f29382b9ac
Author | SHA1 | Date | |
---|---|---|---|
f29382b9ac |
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,7 @@ use crate::prelude::*;
|
|||
use anyhow::Result;
|
||||
use assetpath::AssetPath;
|
||||
use ecs::*;
|
||||
|
||||
use std::any::Any;
|
||||
use std::collections::HashMap;
|
||||
|
||||
|
@ -117,7 +118,6 @@ impl<'a, T: TopLevelGui + 'static> From<T> for CreationType<'a> {
|
|||
}
|
||||
|
||||
/// Collection and handler for your UI (basically a state machine)
|
||||
#[derive(Resource)]
|
||||
pub struct States {
|
||||
states: HashMap<String, Arc<State>>,
|
||||
current_state: Arc<Mutex<Option<Arc<State>>>>,
|
||||
|
|
Loading…
Reference in a new issue