Add the main menu #31

Merged
CoCo_Sol merged 25 commits from main-menu into main 2024-02-09 23:42:37 +00:00
Showing only changes of commit 4bce642f17 - Show all commits

View file

@ -15,7 +15,8 @@ impl Plugin for MenuPlugin {
.add_systems(Update, ui_host_button);
}
}
/// Display a connect window, with a button to join a game and an input to enter the address.
/// Display a connect window, with a button to join a game and an input to enter
/// the address.
fn ui_connect_button(mut ctx: EguiContexts, mut connection_string: Local<String>) {
egui::Window::new("Connect")
.default_width(400.0)