Changed the competitors list view to eight individual list view.

Added eight individual image view to support future player icon implementation.

#story[1055]
This commit is contained in:
Zhi You Tan
2017-07-23 03:00:29 +12:00
parent 3992073303
commit f542dbb61e
12 changed files with 145 additions and 30 deletions
@@ -70,6 +70,7 @@ public class StartScreenController {
ClientToServerThread clientToServerThread = new ClientToServerThread("localhost", 4950);
controller.setClientToServerThread(clientToServerThread);
clientToServerThread.start();
ClientState.setHost(true);
// new GameServerThread("Fuck you");
// get the lobby controller so that we can pass the game server thread to it
setContentPane("/views/LobbyView.fxml");
@@ -92,6 +93,7 @@ public class StartScreenController {
ClientToServerThread clientToServerThread = new ClientToServerThread(ipAddress, port);
controller.setClientToServerThread(clientToServerThread);
clientToServerThread.start();
ClientState.setHost(false);
ClientState.setConnectedToHost(true);
setContentPane("/views/LobbyView.fxml");
} catch (Exception e) {