From f1f81abab3ca1c1f97ccd52e99c3977905312d94 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Mon, 25 Jun 2018 17:37:14 +0200 Subject: Added new tower type and deconstruct action --- tests/live-comparison.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/live-comparison.rs') 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 + )), } } -- cgit v1.2.3