diff options
Diffstat (limited to 'src/shared/tower.rs')
-rw-r--r-- | src/shared/tower.rs | 6 |
1 files changed, 4 insertions, 2 deletions
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<LastTarget>, } -#[derive(Component, Clone, Copy)] +#[derive(Component, Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)] pub struct LastTarget { pub entity: Entity, pub player_id: PlayerId, |