From 72a29f9844a86050c5632861f71855713878c0b5 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Mon, 27 Aug 2018 22:40:02 +0200 Subject: Removed unused deconstruct command --- src/engine/command.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/engine/command.rs') diff --git a/src/engine/command.rs b/src/engine/command.rs index c4268c5..d026bca 100644 --- a/src/engine/command.rs +++ b/src/engine/command.rs @@ -5,7 +5,6 @@ use super::geometry::Point; pub enum Command { Nothing, Build(Point, BuildingType), - Deconstruct(Point), IronCurtain } @@ -14,7 +13,6 @@ impl fmt::Display for Command { match *self { Command::Nothing => write!(f, ""), Command::Build(p, b) => write!(f, "{},{},{}", p.x(), p.y(), b as u8), - Command::Deconstruct(p) => write!(f, "{},{},3", p.x(), p.y()), Command::IronCurtain => write!(f, "0,0,5") } } -- cgit v1.2.3