Ip vom Liveserver eingetragen, Compilefehler gefixed

This commit is contained in:
2014-05-26 18:39:25 +02:00
parent 1fd64dccbe
commit a0eb217332

View File

@@ -21,10 +21,6 @@ namespace WorldOfPeacecraft
private AutoResetEvent InitializedEvent = new AutoResetEvent(false);
private bool initialized = false;
private Pathwalker Pathwalker = new Pathwalker();
private Func<Player, bool> isNotBusy = (Player p) => !p.GetBusy();
private Func<String, Player, bool> name = (String searchName, Player p) => searchName==p.GetName();
private Func<int, Player, Player, bool> rangePlayer = (int maxDis, Player me, Player friend) => maxDis <= distance = new int(Math.Abs (me.GetX() - friend.GetX()) + Math.Abs (me.GetY() - friend.GetY());
public Backend (IGui gui)
{
@@ -209,7 +205,7 @@ namespace WorldOfPeacecraft
}
public void Initialize(){
Client.Connect ("localhost", 9999);
Client.Connect ("85.214.103.114", 110);
StartThreads ();
InitializedEvent.WaitOne();
initialized = true;