Add event handling to systems
This commit is contained in:
parent
c32a452f17
commit
948a929040
5 changed files with 30 additions and 23 deletions
|
|
@ -8,6 +8,7 @@ pub trait EngineTrait {
|
|||
fn new() -> Self;
|
||||
fn initialize(&mut self, platform_context: PlatformContext);
|
||||
fn update(&mut self, platform_context: PlatformContext);
|
||||
fn handle_event(&mut self, platform_context: PlatformContext);
|
||||
fn current_scene_mut(&mut self) -> &mut Scene;
|
||||
fn get_debug_ui_buffer(&self) -> Rc<RefCell<DebugUIBuffer>>;
|
||||
fn reset_debug_ui_buffer(&mut self);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue