mirror of
https://github.com/lisk77/comet.git
synced 2025-10-23 21:38:50 +00:00
fix: got back to the old render_scene_2d because my Camera2D way is kind of borked.
This commit is contained in:
parent
ca3c3dd5e6
commit
c79e69f8f4
3 changed files with 205 additions and 112 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue