start the parser

This commit is contained in:
Daniel Herrmann
2014-04-11 12:17:15 +02:00
parent a125e87570
commit 0d297cfd36
2 changed files with 2 additions and 1 deletions

View File

@@ -249,7 +249,7 @@ end:cell
Thread.Sleep(1000);
Console.WriteLine(p.getDummyPlayer());
Console.WriteLine(p.getDummyPlayer().ToString());
Console.ReadLine();
}

View File

@@ -34,6 +34,7 @@ namespace WorldOfPeacecraft
public Parser ()
{
ParserThread = new Thread (new ThreadStart (this.RunParser));
ParserThread.Start();
Message = new LinkedList<string> ();
LastLineRegex = new Regex ("^end:[0-9]+$");
}