Implemented new client - server handshake protocol

- Implemented new packet types
- Changed server & client logic to use new protocol

Tags: #story[1124] (Issue 39)
This commit is contained in:
Michael Rausch
2017-08-10 19:01:30 +12:00
parent 9c79897e01
commit 09c4f98056
11 changed files with 274 additions and 111 deletions
@@ -62,6 +62,7 @@ public class GameClient {
ioe.printStackTrace();
System.out.println("Unable to connect to host...");
}
socketThread.addStreamObserver(this::parsePackets);
LobbyController lobbyController = loadLobby();
lobbyController.setPlayerListSource(clientLobbyList);