diff options
Diffstat (limited to 'src/shared/stats.rs')
-rw-r--r-- | src/shared/stats.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/shared/stats.rs b/src/shared/stats.rs index ae449f0..bc9a509 100644 --- a/src/shared/stats.rs +++ b/src/shared/stats.rs @@ -12,20 +12,3 @@ pub struct BaseStats(pub Stats); #[derive(Component, Message, Clone, Copy, Serialize, Deserialize, PartialEq, Debug)] pub struct EffectiveStats(pub Stats); - -impl BaseStats { - pub fn from_champion(champion: Champion) -> Self { - match champion { - Champion::Meele => BaseStats(Stats { - attack_range: 25., - movement_speed: 75., - max_health: 150., - }), - Champion::Ranged => BaseStats(Stats { - attack_range: 60., - movement_speed: 85., - max_health: 100., - }), - } - } -} |