diff --git a/crates/border-wars/src/lib.rs b/crates/border-wars/src/lib.rs index ec12793..3ba1db7 100644 --- a/crates/border-wars/src/lib.rs +++ b/crates/border-wars/src/lib.rs @@ -11,7 +11,7 @@ pub enum GameState { #[default] Menu, - /// When we are in the lobby waiting for players. + /// When we are in the lobby waiting for players to join the game. Lobby, /// When we play this wonderful game. diff --git a/crates/border-wars/src/menu.rs b/crates/border-wars/src/menu.rs index 80b7785..d6e4d13 100644 --- a/crates/border-wars/src/menu.rs +++ b/crates/border-wars/src/menu.rs @@ -34,6 +34,7 @@ fn menu_ui( if ui.button("Join").clicked() { next_state.set(GameState::Game); + // TODO: connect to the game } }); @@ -41,6 +42,7 @@ fn menu_ui( if ui.button("Create new game").clicked() { next_state.set(GameState::Lobby); + // TODO: create a new game } }); }