public interface IAIConstructionSelectionStrategy
| Modifier and Type | Method | Description |
|---|---|---|
ICity |
getBuildLocation(IAIPlayer player) |
Select the build location of the new ship.
|
void |
initShipConstruction(IAIPlayer player,
INavigableVessel vessel,
EShipType shipType) |
Initialize the ship construction by collecting the wares.
|
java.util.Optional<INavigableVessel> |
selectCollectingVessel(IAIPlayer player,
EShipType shipType) |
Find a vessel that will do the collection.
|
EShipType |
shouldBuildShipType(IAIPlayer player) |
Select the ship type to be built.
|
boolean |
shouldOrderNewConstruction(IAIPlayer player) |
Check if a new ship should be ordered.
|
boolean shouldOrderNewConstruction(IAIPlayer player)
player - for which the check should be done.EShipType shouldBuildShipType(IAIPlayer player)
player - who whishes to build a shipICity getBuildLocation(IAIPlayer player)
player - who whishes to build a shipvoid initShipConstruction(IAIPlayer player, INavigableVessel vessel, EShipType shipType)
player - for whom to build the shipvessel - vessel chosen to collect the waresshipType - type of the ship to be built.java.util.Optional<INavigableVessel> selectCollectingVessel(IAIPlayer player, EShipType shipType)
player - owning the vesselshipType - of the ship to be built and thereby the definition of the required wares.Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.