summaryrefslogtreecommitdiff
path: root/src/game/powerup.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/powerup.rs
parent9b98ee64ef54cc434864b77bc20976c1cc166030 (diff)
Optimized finding valid snowball + bomb moves
Diffstat (limited to 'src/game/powerup.rs')
-rw-r--r--src/game/powerup.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/powerup.rs b/src/game/powerup.rs
index f8a8e2f..47e73a1 100644
--- a/src/game/powerup.rs
+++ b/src/game/powerup.rs
@@ -2,5 +2,5 @@ use crate::geometry::*;
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
pub struct Powerup {
- pub position: Point2d<i8>,
+ pub position: Point2d,
}