add impaler scaffolding and teams
This commit is contained in:
parent
af45237701
commit
6659fe8e5a
12 changed files with 151 additions and 21 deletions
|
|
@ -19,9 +19,7 @@ impl Plugin for BuildingCorePlugin {
|
|||
|
||||
#[derive(Component)]
|
||||
#[require(Building)]
|
||||
pub struct Core {
|
||||
pub level: u32,
|
||||
}
|
||||
pub struct Core;
|
||||
|
||||
#[derive(Event)]
|
||||
pub struct SpawnCore {
|
||||
|
|
@ -45,7 +43,7 @@ fn spawn_core(
|
|||
perceptual_roughness: 0.8,
|
||||
..default()
|
||||
})),
|
||||
Core { level: 0 },
|
||||
Core,
|
||||
transform.clone(),
|
||||
Health::new(100.0),
|
||||
Defense::new(10.0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue