Class RandomShipConstructionSelectionStrategy
- java.lang.Object
-
- ch.sahits.game.openpatrician.engine.player.strategy.BaseShipConstructionSelectionStrategy
-
- ch.sahits.game.openpatrician.engine.player.strategy.RandomShipConstructionSelectionStrategy
-
- All Implemented Interfaces:
ch.sahits.game.openpatrician.model.player.IAIConstructionSelectionStrategy
- Direct Known Subclasses:
HometownRandomShipConstructionSelectionStrategy,TradingOfficeRandomShipConstructionSelectionStrategy,WestCityRandomShipConstructionSelectionStrategy
public abstract class RandomShipConstructionSelectionStrategy 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 RandomShipConstructionSelectionStrategy(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
-
-