diff --git a/inf3.csproj b/inf3.csproj index efa4bc4..cb903d8 100644 --- a/inf3.csproj +++ b/inf3.csproj @@ -58,6 +58,7 @@ + diff --git a/src/Parser.cs b/src/Parser.cs index fbb3bd2..77b42fe 100644 --- a/src/Parser.cs +++ b/src/Parser.cs @@ -210,7 +210,7 @@ namespace WorldOfPeacecraft int delay = procBlock.GetIntValue ("delay"); LinkedList block = procBlock.GetBlocks (); ProcessOpponent (block.First.Value); - //Result r = new Result(round, running, delay); + Result r = new Result(round, running, delay); } private void ProcessOpponent(Block oppBlock) @@ -227,7 +227,7 @@ namespace WorldOfPeacecraft d = Decision.STAGHUNT; if (stringValue == "SKIRMISH") d = Decision.SKIRMISH; - + Opponent o = new Opponent (id, points, total, d); } //DRAGON|STAGHUNT|SKIRMISH diff --git a/src/Result.cs b/src/Result.cs new file mode 100644 index 0000000..ec965d6 --- /dev/null +++ b/src/Result.cs @@ -0,0 +1,20 @@ +using System; + +namespace inf3 +{ + public class Result + { + int round_; + bool running_; + int delay_; + + public Result (int round, bool running, int delay) + { + round_ = round; + running_ = running; + delay_ = delay; + } + } +} +/*Result r = new Result(round, running, delay);*/ +