Added server list updates, and added lobby

- Server list updates when a server is added/removed
- Player can host a server
- Lobby view shows players connected

Tags: #pair[mra106, hyi25] #story[1245]
This commit is contained in:
Michael Rausch
2017-09-07 19:20:36 +12:00
parent 8cc725616c
commit b35126ff4e
13 changed files with 280 additions and 170 deletions
-5
View File
@@ -86,9 +86,6 @@ public class App extends Application {
primaryStage.show();
primaryStage.setOnCloseRequest(e -> {
// ClientPacketParser.appClose();
// ClientPacketParser.appClose();
try {
ServerAdvertiser.getInstance().unregister();
@@ -108,8 +105,6 @@ public class App extends Application {
parseArgs(args);
} catch (ParseException e) {
logger.error("Could not parse command line arguments");
} catch (IOException e) {
e.printStackTrace();
}
launch(args);