Skip to content

Commit

Permalink
Format space_invaders.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
dancavolix committed May 7, 2024
1 parent 37d7d45 commit f0fc331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/space_invaders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ fn main() {
for key_down in app_state.keyboard().get_keys_down() {
match key_down {
Key::A | Key::H | Key::Numpad4 => state.spaceship_move_x(-1),
Key::D | Key::L | Key::Numpad6=> state.spaceship_move_x(1),
Key::D | Key::L | Key::Numpad6 => state.spaceship_move_x(1),
Key::Space => state.spaceship_shot(app_state.step()),
_ => (),
}
Expand Down

0 comments on commit f0fc331

Please sign in to comment.