From d5165efe843b7a1543f425087703266fd09501f4 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Wed, 16 May 2018 22:47:17 +0200 Subject: Changed types to assume health can't be more than the hundred in the first round --- src/engine/settings.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/engine/settings.rs') diff --git a/src/engine/settings.rs b/src/engine/settings.rs index b23d6bd..40256d9 100644 --- a/src/engine/settings.rs +++ b/src/engine/settings.rs @@ -13,9 +13,9 @@ pub struct GameSettings { #[derive(Debug)] pub struct BuildingSettings { pub price: u16, - pub health: u16, + pub health: u8, pub construction_time: u8, - pub weapon_damage: u16, + pub weapon_damage: u8, pub weapon_speed: u8, pub weapon_cooldown_period: u8, pub energy_generated_per_turn: u16 -- cgit v1.2.3