diff options
Diffstat (limited to 'src/shared/health_event.rs')
-rw-r--r-- | src/shared/health_event.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/shared/health_event.rs b/src/shared/health_event.rs new file mode 100644 index 0000000..9932599 --- /dev/null +++ b/src/shared/health_event.rs @@ -0,0 +1,7 @@ +use crate::shared::*; + +#[derive(Message, Serialize, Deserialize, PartialEq, Clone, Debug)] +pub struct HealthEvent { + pub target_player: PlayerId, + pub health_gained: f32, +} |