summaryrefslogtreecommitdiff
path: root/2013-battlecity/Entelect.BattleCity.Challenge/Move.cs
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2022-04-19 21:22:50 +0200
committerJustin Wernick <justin@worthe-it.co.za>2022-04-19 21:22:50 +0200
commitbe89211af895548425be999f660a1195efe9fc8a (patch)
tree19fcd9aaae9c83fe51f81ef57c1f724392a93f8a /2013-battlecity/Entelect.BattleCity.Challenge/Move.cs
parent0856dc8dc80d3a8624f1d82b944dcbd9e0021446 (diff)
Refile for merging repos
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());
+ }
+ }
+}