Merged master.
This commit is contained in:
@@ -33,6 +33,8 @@ public class CommandFactory {
|
||||
case TACK_GYBE: return new TackGybeCommand(race, boat);
|
||||
case UPWIND: return new WindCommand(race, boat, true);
|
||||
case DOWNWIND: return new WindCommand(race, boat, false);
|
||||
case SAILS_OUT: return new SailsCommand(race, boat, true);
|
||||
case SAILS_IN: return new SailsCommand(race, boat, false);
|
||||
|
||||
default: throw new CommandConstructionException("Could not create command for BoatAction: " + action + ". Unknown BoatAction.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user