basic core building
This commit is contained in:
parent
f5d022d1d0
commit
af45237701
11 changed files with 146 additions and 11 deletions
16
crates/building/src/lib.rs
Normal file
16
crates/building/src/lib.rs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
//bevy system signatures often violate these rules
|
||||
#![allow(clippy::type_complexity)]
|
||||
#![allow(clippy::too_many_arguments)]
|
||||
|
||||
use bevy::prelude::*;
|
||||
use combat::Health;
|
||||
|
||||
pub struct BuildingPlugin;
|
||||
|
||||
impl Plugin for BuildingPlugin {
|
||||
fn build(&self, _app: &mut App) {}
|
||||
}
|
||||
|
||||
#[derive(Component, Default)]
|
||||
#[require(Health)]
|
||||
pub struct Building;
|
||||
Loading…
Add table
Add a link
Reference in a new issue