bevy/examples/game
giusdp cdae95b4b8 Add exit_on_esc_system to examples with window (#2121)
This covers issue #2110

It adds the line `.add_system(bevy::input::system::exit_on_esc_system.system())` before `.run()`
to every example that uses a window, so users have a quick way to close the examples.

I used the full name `bevy::input::system::exit_on_esc_system`, I thought it gave clarity about being a built-in system.

The examples excluded from the change are the ones in the android, ios, wasm folders, the headless 
examples and the ecs/system_sets example because it closes itself.
2021-05-14 20:15:54 +00:00
..
alien_cake_addict.rs Add exit_on_esc_system to examples with window (#2121) 2021-05-14 20:15:54 +00:00
breakout.rs Add exit_on_esc_system to examples with window (#2121) 2021-05-14 20:15:54 +00:00