summaryrefslogtreecommitdiff
path: root/src/game/player.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2019-08-14 21:56:03 +0200
committerJustin Worthe <justin@worthe-it.co.za>2019-08-14 21:56:03 +0200
commitf4c27b7a834538bc75dd6f986c05635e6c58956c (patch)
tree5987b36459062d988e88c17bab29adb96a39a8b8 /src/game/player.rs
parent9b98ee64ef54cc434864b77bc20976c1cc166030 (diff)
Optimized finding valid snowball + bomb moves
Diffstat (limited to 'src/game/player.rs')
-rw-r--r--src/game/player.rs2
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,