generated from tipragot/rust
Add the main menu #31
|
@ -7,7 +7,7 @@ use border_wars::GameState;
|
|||
fn main() {
|
||||
App::new()
|
||||
.add_plugins(DefaultPlugins)
|
||||
.init_resource::<State<GameState>>()
|
||||
.add_state::<GameState>()
|
||||
.add_plugins(MenuPlugin)
|
||||
.run();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue