summaryrefslogtreecommitdiff
path: root/src/engine/command.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-08-27 22:40:02 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-08-27 22:40:02 +0200
commit72a29f9844a86050c5632861f71855713878c0b5 (patch)
tree614cafe5c36aa873972a58d68487ad85887c17e0 /src/engine/command.rs
parent5c299a662f178832d6d0722dabdec5cf4dd73e02 (diff)
Removed unused deconstruct command
Diffstat (limited to 'src/engine/command.rs')
-rw-r--r--src/engine/command.rs2
1 files changed, 0 insertions, 2 deletions
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")
}
}