Adding a lobby scene #34

Merged
tipragot merged 13 commits from lobby-menu into main 2024-02-10 18:07:50 +00:00
Showing only changes of commit c55313dff5 - Show all commits

View file

@ -3,6 +3,9 @@
use bevy::prelude::*; use bevy::prelude::*;
use bevy_egui::EguiPlugin; use bevy_egui::EguiPlugin;
use self::lobby::LobbyPlugin;
pub mod lobby;
pub mod menu; pub mod menu;
/// The plugin for all menus. /// The plugin for all menus.
@ -10,6 +13,8 @@ pub struct MenusPlugin;
impl Plugin for MenusPlugin { impl Plugin for MenusPlugin {
fn build(&self, app: &mut App) { fn build(&self, app: &mut App) {
app.add_plugins(EguiPlugin).add_plugins(menu::MenuPlugin); app.add_plugins(EguiPlugin)
.add_plugins(menu::MenuPlugin)
.add_plugins(LobbyPlugin);
} }
} }