WIP: Created some basic controllers for the UI and started implementing backend for server stuff

Created GameState Class. Static, contains all info about current state of game: list of players and their respective details (coords etc) also Host info

Clients will observe this GameState class

Upon pressing host, new GameState is created and new GameConnectionListener created which listens for connections

Player class created which will be used to take each connection and store it as a player with other info about them regarding the game in the GameState class

tags: #story[1047]  #pair[wmu16, zyt10]
This commit is contained in:
William Muir
2017-07-10 16:03:13 +12:00
parent 1a3e330eb4
commit 752863a0d3
5 changed files with 222 additions and 3 deletions
@@ -52,6 +52,7 @@ public class LobbyController {
// TODO: 10/07/17 wmu16 - Finish function!
setContentPane("/views/StartScreen2View.fxml");
System.out.println("Leaving lobby!");
}