Moved physics to physics.

This commit is contained in:
2016-06-15 19:51:24 +02:00
parent 4c2b5a994c
commit 65909c4275
4 changed files with 21 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ use sdl2::keyboard::Keycode;
pub struct KeyboardHandler {
pressed_keys: HashMap<Keycode, bool>,
released_keys: HashMap<Keycode, bool>,
held_keys: HashMap<Keycode, bool>
held_keys: HashMap<Keycode, bool>,
}
impl KeyboardHandler {
@@ -14,7 +14,7 @@ impl KeyboardHandler {
KeyboardHandler {
pressed_keys: HashMap::new(),
released_keys: HashMap::new(),
held_keys: HashMap::new()
held_keys: HashMap::new(),
}
}