summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-06-25 17:37:14 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-06-25 17:37:14 +0200
commitf1f81abab3ca1c1f97ccd52e99c3977905312d94 (patch)
tree3cd65a438af59a26a940a32a0fdee167f3736965 /tests
parentf5699c057c000efd80e4bf7dd6b23a0d1750e628 (diff)
Added new tower type and deconstruct action
Diffstat (limited to 'tests')
-rw-r--r--tests/live-comparison.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/live-comparison.rs b/tests/live-comparison.rs
index 301f8fc..621c247 100644
--- a/tests/live-comparison.rs
+++ b/tests/live-comparison.rs
@@ -52,7 +52,11 @@ fn read_opponent_command(filename: &str, settings: &GameSettings) -> Command {
Command::Build(p, b) => Command::Build(Point::new(
settings.size.x - p.x - 1,
p.y
- ), b)
+ ), b),
+ Command::Deconstruct(p) => Command::Deconstruct(Point::new(
+ settings.size.x - p.x - 1,
+ p.y
+ )),
}
}