Komplettumbau und Splashscreen sollte jetzt funktionieren (Muss noch getestet werden)

This commit is contained in:
Wafa Sadri
2014-05-13 18:48:51 +02:00
parent 810e69e759
commit c3088bb36a
10 changed files with 121 additions and 59 deletions

View File

@@ -24,7 +24,7 @@ namespace WorldOfPeacecraft
Dragons = new Dictionary<int, Dragon> ();
Players = new Dictionary<int, Player> ();
ChatMessages = new LinkedList<Message> ();
Client = new TcpClient ("localhost", 9999);
Client = new TcpClient ();
Buffer receiverBuffer = new Buffer(10000);
SenderBuffer = new Buffer(100);
Parse = new Parser (this, receiverBuffer);
@@ -182,6 +182,10 @@ namespace WorldOfPeacecraft
Send.Stop ();
Client.Close ();
}
public void Connect(){
Client.Connect ("localhost", 9999);
}
}
}