add impaler scaffolding and teams

This commit is contained in:
Jim 2025-08-25 08:31:33 -04:00
parent af45237701
commit 6659fe8e5a
Signed by: jim
GPG key ID: 3236D2F059A7C0AC
12 changed files with 151 additions and 21 deletions

View file

@ -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),