Add event handling to systems

This commit is contained in:
Emre Osmanoğlu 2025-09-10 15:54:23 +03:00
parent c32a452f17
commit 948a929040
5 changed files with 30 additions and 23 deletions

View file

@ -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);