mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Merge branch 'develop' into Story1274_custom_boat_stats
# Conflicts: # src/main/java/seng302/model/ServerYacht.java # src/main/java/seng302/visualiser/controllers/dialogs/BoatCustomizeController.java
This commit is contained in:
@@ -35,19 +35,6 @@ public enum BoatMeshType {
|
||||
this.turnStep = turnStep;
|
||||
}
|
||||
|
||||
public static BoatMeshType getBoatMeshType(String boatType) {
|
||||
switch (boatType){
|
||||
case "DINGHY":
|
||||
return DINGHY;
|
||||
case "CAT_ATE_A_MERINGUE":
|
||||
return CAT_ATE_A_MERINGUE;
|
||||
case "PIRATE_SHIP":
|
||||
return PIRATE_SHIP;
|
||||
default:
|
||||
return DINGHY;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//TODO kre39 make something not terrible to cycle through boat types
|
||||
public static BoatMeshType getNextBoatType(BoatMeshType boatType) {
|
||||
|
||||
Reference in New Issue
Block a user