aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/buffs.rs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-19 14:56:30 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-19 15:12:22 +0100
commit7b6d9242e4217c8229cb546de495cd2670b97f2d (patch)
treef65be0458aa9c56501b6028444836459292bed49 /src/shared/buffs.rs
parent2d21d709901c96b05d7f0169dd9d1207436c658c (diff)
feat: render buffs in client
Diffstat (limited to 'src/shared/buffs.rs')
-rw-r--r--src/shared/buffs.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/shared/buffs.rs b/src/shared/buffs.rs
index 6b518a5..868f3a3 100644
--- a/src/shared/buffs.rs
+++ b/src/shared/buffs.rs
@@ -1,9 +1,9 @@
use crate::shared::*;
-#[derive(Clone, Component, Default, Debug)]
+#[derive(Clone, Message, Component, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Buffs {
- pub haste: Option<Timer>,
- pub shield: Option<Timer>,
- pub slow: Option<Timer>,
- pub speed: Option<Timer>,
+ pub haste: Option<f32>,
+ pub shield: Option<f32>,
+ pub slow: Option<f32>,
+ pub speed: Option<f32>,
}