summaryrefslogtreecommitdiff
path: root/Entelect.BattleCity.Challenge/Move.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Entelect.BattleCity.Challenge/Move.cs')
-rw-r--r--Entelect.BattleCity.Challenge/Move.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Entelect.BattleCity.Challenge/Move.cs b/Entelect.BattleCity.Challenge/Move.cs
index 1813c59..7fba664 100644
--- a/Entelect.BattleCity.Challenge/Move.cs
+++ b/Entelect.BattleCity.Challenge/Move.cs
@@ -15,5 +15,10 @@ namespace Entelect.BattleCity.Challenge
Tank = tank;
Action = action;
}
+
+ public override string ToString()
+ {
+ return string.Format("Tank {0}: {1}", Tank, Action.ToString());
+ }
}
}