public ServerScreen() { mainIP = MultiplayerLobby.getLocalIP(); messages = new List <string>(); server = new ExternalNetworkedServer(); server.initializeListener(); server.messageReceived += parseMessage; }
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); }