Class BiggestShipConstructionSelectionStrategy
- java.lang.Object
-
- ch.sahits.game.openpatrician.engine.player.strategy.BaseShipConstructionSelectionStrategy
-
- ch.sahits.game.openpatrician.engine.player.strategy.BiggestShipConstructionSelectionStrategy
-
- All Implemented Interfaces:
ch.sahits.game.openpatrician.model.player.IAIConstructionSelectionStrategy
- Direct Known Subclasses:
HometownBiggestShipConstructionSelectionStrategy,TradingOfficeBiggestShipConstructionSelectionStrategy,WestCityBiggestShipConstructionSelectionStrategy
public abstract class BiggestShipConstructionSelectionStrategy extends BaseShipConstructionSelectionStrategy
Base strategy to build the bigest possible ships at a given location.- Author:
- Andi Hotz, (c) Sahits GmbH, 2017 Created on Oct 27, 2017
-
-
Constructor Summary
Constructors Constructor Description BiggestShipConstructionSelectionStrategy(int minCash, int maxFeetSize, int maxTotalCargoCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ch.sahits.game.openpatrician.model.ship.EShipTypeshouldBuildShipType(ch.sahits.game.openpatrician.model.IAIPlayer player)-
Methods inherited from class ch.sahits.game.openpatrician.engine.player.strategy.BaseShipConstructionSelectionStrategy
getFleetCapacity, selectCollectingVessel, shouldOrderNewConstruction
-
-