From 1751960338fc7a08fec438a9b53c78118a35063a Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Sun, 24 Mar 2024 06:26:22 +0100 Subject: feat: add tower range/ target indicator --- src/shared/tower.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/shared/tower.rs') diff --git a/src/shared/tower.rs b/src/shared/tower.rs index 4601112..28ccc13 100644 --- a/src/shared/tower.rs +++ b/src/shared/tower.rs @@ -62,12 +62,14 @@ impl TowerBundle { } } -#[derive(Component, Default)] +#[derive( + Message, Component, Default, Clone, Copy, Serialize, Deserialize, PartialEq, Eq, Debug, +)] pub struct Tower { pub last_target: Option, } -#[derive(Component, Clone, Copy)] +#[derive(Component, Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)] pub struct LastTarget { pub entity: Entity, pub player_id: PlayerId, -- cgit v1.2.3