Boat names now change, just the issue of the lobby not updating unless another person joins/leaves to try and fix.

tags: #story[1142]
This commit is contained in:
Alistair McIntyre
2017-08-16 17:57:22 +12:00
parent 1db75a8ae4
commit 4fc00f8a3c
5 changed files with 47 additions and 15 deletions
@@ -32,6 +32,9 @@ public class CustomizationController {
public void submitCustomization() {
System.out.println("Attempting to send");
socketThread.sendCustomizationRequest(CustomizeRequestType.NAME, nameField.getText().getBytes());
// TODO: 16/08/17 ajm412: Turn colors into byte array.
socketThread.sendCustomizationRequest(CustomizeRequestType.COLOR,
boatColorPicker.getValue().toString().getBytes());
}