range indicators, limit tower placement to within range of core

This commit is contained in:
Jim 2025-09-01 19:10:16 -04:00
parent 9c4787f5e2
commit 6a4978041c
Signed by: jim
GPG key ID: 3D7D94BA53088BF4
16 changed files with 350 additions and 60 deletions

View file

@ -253,3 +253,12 @@ fn tick_invulnerability(
}
}
}
#[derive(Component, Deref, DerefMut)]
pub struct Range(pub f32);
impl Default for Range {
fn default() -> Self {
Self(5.)
}
}