wip
This commit is contained in:
parent
cc7921a5fe
commit
3692736a61
22 changed files with 447 additions and 44 deletions
|
|
@ -1,11 +1,12 @@
|
|||
use crate::Scene;
|
||||
use indexmap::IndexMap;
|
||||
use winit::event::Event;
|
||||
use crate::context::PlatformContext;
|
||||
|
||||
pub struct SystemContext<'a> {
|
||||
// TODO: time delta etc.
|
||||
pub scene: &'a mut Scene,
|
||||
pub event: Option<Event<()>>,
|
||||
pub platform_context: PlatformContext,
|
||||
}
|
||||
|
||||
pub trait System {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue