Exemplo n.º 1
0
 public ServerScreen()
 {
     mainIP   = MultiplayerLobby.getLocalIP();
     messages = new List <string>();
     server   = new ExternalNetworkedServer();
     server.initializeListener();
     server.messageReceived += parseMessage;
 }
Exemplo n.º 2
0
 public ServerScreen()
 {
     this.mainIP   = MultiplayerLobby.getLocalIP();
     this.messages = new List <string>();
     this.server   = new ExternalNetworkedServer();
     this.server.initializeListener();
     this.server.messageReceived += new Action <string>(this.parseMessage);
 }