summaryrefslogtreecommitdiff
path: root/2013-battlecity/Entelect.BattleCity.Challenge/Move.cs
diff options
context:
space:
mode:
Diffstat (limited to '2013-battlecity/Entelect.BattleCity.Challenge/Move.cs')
-rw-r--r--2013-battlecity/Entelect.BattleCity.Challenge/Move.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/2013-battlecity/Entelect.BattleCity.Challenge/Move.cs b/2013-battlecity/Entelect.BattleCity.Challenge/Move.cs
new file mode 100644
index 0000000..7fba664
--- /dev/null
+++ b/2013-battlecity/Entelect.BattleCity.Challenge/Move.cs
@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Entelect.BattleCity.Challenge
+{
+ class Move
+ {
+ public int Tank { get; private set; }
+ public ChallengeService.action Action { get; private set; }
+
+ public Move(int tank, ChallengeService.action action)
+ {
+ Tank = tank;
+ Action = action;
+ }
+
+ public override string ToString()
+ {
+ return string.Format("Tank {0}: {1}", Tank, Action.ToString());
+ }
+ }
+}