generated from tipragot/rust
Adding a lobby scene #34
|
@ -1,9 +1,8 @@
|
|||
//! All the menu's programme.
|
||||
//! The file containing all menu programs.
|
||||
|
||||
use bevy::prelude::*;
|
||||
use bevy_egui::EguiPlugin;
|
||||
|
||||
pub mod lobby;
|
||||
pub mod menu;
|
||||
|
||||
/// The plugin for all menus.
|
||||
|
@ -11,8 +10,6 @@ pub struct MenusPlugin;
|
|||
|
||||
impl Plugin for MenusPlugin {
|
||||
fn build(&self, app: &mut App) {
|
||||
app.add_plugins(EguiPlugin)
|
||||
.add_plugins(lobby::LobbyPlugin)
|
||||
.add_plugins(menu::MenuPlugin);
|
||||
app.add_plugins(EguiPlugin).add_plugins(menu::MenuPlugin);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue