wip: week of changes
This commit is contained in:
parent
03e8f34dba
commit
176ea52ab0
20 changed files with 171 additions and 47 deletions
|
|
@ -1,9 +1,11 @@
|
|||
use crate::Scene;
|
||||
use indexmap::IndexMap;
|
||||
use winit::event::Event;
|
||||
|
||||
pub struct SystemContext<'a> {
|
||||
// TODO: time delta etc.
|
||||
pub scene: &'a mut Scene,
|
||||
pub event: Option<Event<()>>,
|
||||
}
|
||||
|
||||
pub trait System {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue