fix: got back to the old render_scene_2d because my Camera2D way is kind of borked.

This commit is contained in:
lisk77 2025-03-09 21:50:58 +01:00
parent ca3c3dd5e6
commit c79e69f8f4
3 changed files with 205 additions and 112 deletions

View file

@ -136,6 +136,10 @@ impl App {
&self.world
}
pub fn input_manager(&self) -> &WinitInputHelper {
&self.input_manager
}
pub fn key_pressed(&self, key: Key) -> bool {
self.input_manager.key_pressed(key)
}