UI
This commit is contained in:
parent
5b4ad9a47a
commit
86b9134156
5 changed files with 172 additions and 8 deletions
|
|
@ -2,6 +2,8 @@ use bevy::prelude::*;
|
|||
|
||||
use game::GameViewPlugin;
|
||||
|
||||
use crate::view::ui::UIPlugin;
|
||||
|
||||
pub mod ui;
|
||||
pub mod game;
|
||||
|
||||
|
|
@ -9,6 +11,6 @@ pub struct ViewPlugin;
|
|||
|
||||
impl Plugin for ViewPlugin {
|
||||
fn build(&self, app: &mut App) {
|
||||
app.add_plugins(GameViewPlugin);
|
||||
app.add_plugins((GameViewPlugin,UIPlugin));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue