summaryrefslogtreecommitdiff
path: root/src/command.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2019-04-25 16:50:06 +0200
committerJustin Worthe <justin@worthe-it.co.za>2019-04-25 16:50:06 +0200
commit510767263a0060ad13b2488a9402b1d176ad65ef (patch)
tree8f5d1dc7bb290c01c54f30b4ebe2868d8ac80272 /src/command.rs
parent5c957c0c8e928cbe64eb8a84733d649fd32642ef (diff)
Test that match replay matches my simulation
Diffstat (limited to 'src/command.rs')
-rw-r--r--src/command.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.rs b/src/command.rs
index 99de608..a510120 100644
--- a/src/command.rs
+++ b/src/command.rs
@@ -3,8 +3,8 @@ use crate::geometry::Direction;
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Command {
- Move(u32, u32),
- Dig(u32, u32),
+ Move(i8, i8),
+ Dig(i8, i8),
Shoot(Direction),
DoNothing,
}