aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-18 07:22:14 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-18 07:22:14 +0100
commit701eee31bff9416a9822ca54388a9ec8fabd09a4 (patch)
tree0ab78b6c7b32b6d3bedf1960aefa20226d43bfe8 /src/shared
parent193cb6670addf16bb18b76a1badc00f648150d0b (diff)
fix: fix champion selection
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/stats.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/stats.rs b/src/shared/stats.rs
index 749453c..8513a3c 100644
--- a/src/shared/stats.rs
+++ b/src/shared/stats.rs
@@ -1,15 +1,15 @@
use crate::shared::*;
-#[derive(Clone, Copy, Serialize, Deserialize, PartialEq)]
+#[derive(Clone, Copy, Serialize, Deserialize, PartialEq, Debug)]
pub struct Stats {
pub attack_range: f32,
pub movement_speed: f32,
}
-#[derive(Component, Message, Clone, Copy, Serialize, Deserialize, PartialEq)]
+#[derive(Component, Message, Clone, Copy, Serialize, Deserialize, PartialEq, Debug)]
pub struct BaseStats(pub Stats);
-#[derive(Component, Message, Clone, Copy, Serialize, Deserialize, PartialEq)]
+#[derive(Component, Message, Clone, Copy, Serialize, Deserialize, PartialEq, Debug)]
pub struct EffectiveStats(pub Stats);
impl BaseStats {