diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2018-05-16 22:47:17 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2018-05-16 22:47:17 +0200 |
commit | d5165efe843b7a1543f425087703266fd09501f4 (patch) | |
tree | 0dfc1422861396a78d2298f23610501d337def83 /src/engine/settings.rs | |
parent | c6a7a3154b7ba59f3abc7581b35dd460023cc8f9 (diff) |
Changed types to assume health can't be more than the hundred in the
first round
Diffstat (limited to 'src/engine/settings.rs')
-rw-r--r-- | src/engine/settings.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 |