Started working on the boat selection screen.

Customised the boat customisation UI to contain it. Need to have another boat to test whether we can switch boats and also if the messages get sent correctly.

#story[1274]
This commit is contained in:
Kusal Ekanayake
2017-09-20 16:36:27 +12:00
parent c39582de5c
commit 410d765745
7 changed files with 119 additions and 30 deletions
@@ -33,6 +33,7 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.ResourceBundle;
import seng302.visualiser.fxObjects.assets_3D.BoatMeshType;
public class LobbyController implements Initializable {
@@ -129,6 +130,7 @@ public class LobbyController implements Initializable {
controller.setPlayerName(this.playerBoats
.get(ViewManager.getInstance().getGameClient().getServerThread().getClientId())
.getBoatName());
controller.setCurrentBoat(BoatMeshType.DINGHY);
return customizationDialog;
}