Compare commits
2 commits
f29382b9ac
...
070c475dae
Author | SHA1 | Date | |
---|---|---|---|
070c475dae | |||
645dc8d017 |
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ authors = ["hodasemi <michaelh.95@t-online.de>"]
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
quick-xml = "0.31.0"
|
quick-xml = "0.37.0"
|
||||||
serde = { version = "1.0.203", features = ["derive"] }
|
serde = { version = "1.0.203", features = ["derive"] }
|
||||||
serde_json = { version = "1.0.120" }
|
serde_json = { version = "1.0.120" }
|
||||||
paste = "1.0.15"
|
paste = "1.0.15"
|
||||||
|
|
|
@ -2,7 +2,6 @@ use crate::prelude::*;
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use assetpath::AssetPath;
|
use assetpath::AssetPath;
|
||||||
use ecs::*;
|
use ecs::*;
|
||||||
|
|
||||||
use std::any::Any;
|
use std::any::Any;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
|
@ -118,6 +117,7 @@ impl<'a, T: TopLevelGui + 'static> From<T> for CreationType<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Collection and handler for your UI (basically a state machine)
|
/// Collection and handler for your UI (basically a state machine)
|
||||||
|
#[derive(Resource)]
|
||||||
pub struct States {
|
pub struct States {
|
||||||
states: HashMap<String, Arc<State>>,
|
states: HashMap<String, Arc<State>>,
|
||||||
current_state: Arc<Mutex<Option<Arc<State>>>>,
|
current_state: Arc<Mutex<Option<Arc<State>>>>,
|
||||||
|
|
Loading…
Reference in a new issue