wip: engine enhancements and fixes
This commit is contained in:
parent
9816f14f53
commit
cc7921a5fe
27 changed files with 347 additions and 32 deletions
|
|
@ -16,7 +16,7 @@ pub trait System {
|
|||
fn update(&mut self, ctx: &mut SystemContext);
|
||||
}
|
||||
|
||||
pub type SystemID = String;
|
||||
pub type SystemID = &'static str;
|
||||
pub struct SystemManager {
|
||||
pub systems: IndexMap<SystemID, Box<dyn System>>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue