Change doc
All checks were successful
Rust Checks / checks (push) Successful in 1m4s
Rust Checks / checks (pull_request) Successful in 1m6s

This commit is contained in:
CoCo_Sol 2024-02-10 18:40:42 +01:00
parent 376e1692d0
commit bbe3a983c5

View file

@ -14,7 +14,7 @@ impl Plugin for LobbyPlugin {
}
}
/// Display the UI of the menu to host a game or join one.
/// Display the UI of the lobby.
fn lobby_ui(mut ctx: EguiContexts, mut next_scene: ResMut<NextState<CurrentScene>>) {
egui::CentralPanel::default().show(ctx.ctx_mut(), |ui| {
ui.heading("Border Wars");
@ -24,6 +24,7 @@ fn lobby_ui(mut ctx: EguiContexts, mut next_scene: ResMut<NextState<CurrentScene
ui.label("Game created");
ui.horizontal(|ui| {
ui.label("Game ID: ");
// TODO : get the game ID and display it.
ui.label("connection_string");
});