add ramtower

This commit is contained in:
Jim 2025-09-02 15:04:01 -04:00
parent 23af12d258
commit 3e42fb6cf1
Signed by: jim
GPG key ID: 3D7D94BA53088BF4
9 changed files with 356 additions and 7 deletions

View file

@ -5,7 +5,7 @@
use avian3d::prelude::*;
use bevy::prelude::*;
use building::Core;
use combat::{Health, Team};
use combat::{Defense, Health, Team};
use combat_damagers::ContactDamage;
use inhabitant::Inhabitant;
use inhabitant_simbert::SpawnSimbert;
@ -85,6 +85,7 @@ fn spawn(
},
transform.clone(),
Health::new(2000.0 + 100. * phase.get().phase_count() as f32),
Defense::new(5.),
// todo: change enemy health bar color to differentiate from buildings
BarSettings {
offset: HEIGHT + 0.5,