Host also can be it's own client.

The host can connect to itself to become a client, packets are also sending from the host to client, update method should be ready to fully implemented. Added chatter packets to packet types to be used mostly for testing but can be further implemented for proper use in the future.

#story[1055]
This commit is contained in:
Kusal Ekanayake
2017-07-20 13:53:53 +12:00
parent 1e80d76acd
commit b1575e57df
10 changed files with 82 additions and 14 deletions
@@ -103,5 +103,7 @@ public class LobbyController implements Initializable{
@FXML
public void readyButtonPressed() {
GameState.setCurrentStage(GameStages.RACING);
setContentPane("/views/RaceView.fxml");
}
}