diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2019-08-14 21:56:03 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2019-08-14 21:56:03 +0200 |
commit | f4c27b7a834538bc75dd6f986c05635e6c58956c (patch) | |
tree | 5987b36459062d988e88c17bab29adb96a39a8b8 /src/game/player.rs | |
parent | 9b98ee64ef54cc434864b77bc20976c1cc166030 (diff) |
Optimized finding valid snowball + bomb moves
Diffstat (limited to 'src/game/player.rs')
-rw-r--r-- | src/game/player.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/player.rs b/src/game/player.rs index 3d86c6d..0874c76 100644 --- a/src/game/player.rs +++ b/src/game/player.rs @@ -13,7 +13,7 @@ pub struct Player { pub struct Worm { pub id: i32, pub health: i32, - pub position: Point2d<i8>, + pub position: Point2d, pub bombs: u8, pub snowballs: u8, pub rounds_until_unfrozen: u8, |