From a0eb217332bc9692f1467e0d8d81357a8bbcdff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=B6gele?= Date: Mon, 26 May 2014 18:39:25 +0200 Subject: [PATCH] Ip vom Liveserver eingetragen, Compilefehler gefixed --- src/Backend.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Backend.cs b/src/Backend.cs index 2d89187..92a18b6 100644 --- a/src/Backend.cs +++ b/src/Backend.cs @@ -21,10 +21,6 @@ namespace WorldOfPeacecraft private AutoResetEvent InitializedEvent = new AutoResetEvent(false); private bool initialized = false; private Pathwalker Pathwalker = new Pathwalker(); - private Func isNotBusy = (Player p) => !p.GetBusy(); - private Func name = (String searchName, Player p) => searchName==p.GetName(); - private Func 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;