generated from tipragot/rust
Adding a lobby scene #34
|
@ -3,6 +3,9 @@
|
|||
use bevy::prelude::*;
|
||||
use bevy_egui::EguiPlugin;
|
||||
|
||||
use self::lobby::LobbyPlugin;
|
||||
|
||||
pub mod lobby;
|
||||
pub mod menu;
|
||||
|
||||
/// The plugin for all menus.
|
||||
|
@ -10,6 +13,8 @@ pub struct MenusPlugin;
|
|||
|
||||
impl Plugin for MenusPlugin {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue