diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-03-17 08:14:27 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-03-17 08:14:27 +0100 |
commit | 0436c10a90db450bdaf75ac43608e094bd9f0e8f (patch) | |
tree | 092dd9cc37b0c7f8b70a8aa61a32222c14dfb85f /src/shared/projectile.rs | |
parent | 1812cafee45128d823a00fd19efb736aa1306b28 (diff) |
feat: meele attack
Diffstat (limited to 'src/shared/projectile.rs')
-rw-r--r-- | src/shared/projectile.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/projectile.rs b/src/shared/projectile.rs index 2e9c6c3..16a064a 100644 --- a/src/shared/projectile.rs +++ b/src/shared/projectile.rs @@ -12,6 +12,7 @@ pub struct Projectile { pub target_player: PlayerId, pub source_player: PlayerId, pub damage: f32, + pub instant: bool, } #[derive(Component, Message, Serialize, Deserialize, Clone, Debug, PartialEq)] |