boolean |
IAIEventDecisionStrategy.acceptMarriagBrokereOffer(IAIPlayer player) |
Decide if the offer of a marriage broker should be accepted.
|
boolean |
IAIEventDecisionStrategy.acceptMarriageOffer(IAIPlayer player) |
Decide if a marriage offer should be accepted.
|
void |
IAIBuyWeaponStrategy.buyWeapons(BuyWeapons target,
IShip ship,
IAIPlayer player,
ICity city) |
Buy the weapons.
|
void |
IAIBuyWeaponStrategy.buyWeaponsOrdered(BuyWeapons target,
IShip ship,
IAIPlayer player,
ICity city) |
Buy the weapons.
|
int |
IAIHireSailorStrategy.calculateRequiredSailorAmount(IShip ship,
IAIPlayer player) |
Calculate the number of required sailors on the ship.
|
boolean |
IAITradeStrategy.executeTradeSteps(IAIPlayer player,
INavigableVessel vessel) |
Execute the trad steps defined for the vessel.
|
ICity |
IAIConstructionSelectionStrategy.getBuildLocation(IAIPlayer player) |
Select the build location of the new ship.
|
void |
IAICaptainHireStrategy.hire(IAIPlayer player,
IShip vessel,
ICaptain captain,
ICity city) |
player hires captain on the vessel.
|
void |
IAIHireTradeManagerStrategy.hireOrDismiss(ICity city,
IAIPlayer player) |
Hire or dismiss a trading manager.
|
boolean |
IAIHireTradeManagerStrategy.hireOrFireTradeManager(ICity city,
IAIPlayer player) |
Decide if a trade manager should be hired or dismissed.
|
void |
IAITradeStrategy.initializeTradeCycle(IAIPlayer player,
INavigableVessel vessel) |
Initialize the trade cycle.
|
void |
IAIConstructionSelectionStrategy.initShipConstruction(IAIPlayer player,
INavigableVessel vessel,
EShipType shipType) |
Initialize the ship construction by collecting the wares.
|
default boolean |
IAITradeStrategy.isSelectable(IAIPlayer player,
INavigableVessel vessel) |
Check if this strategy can be selected in the current setup.
|
void |
IAIGuildJoinStrategy.join(IAIPlayer player,
ICity city) |
Join the guild in the city.
|
java.util.Optional<INavigableVessel> |
IAIConstructionSelectionStrategy.selectCollectingVessel(IAIPlayer player,
EShipType shipType) |
Find a vessel that will do the collection.
|
EShipType |
IAIConstructionSelectionStrategy.shouldBuildShipType(IAIPlayer player) |
Select the ship type to be built.
|
java.util.Optional<BuyWeapons> |
IAIBuyWeaponStrategy.shouldBuyWeapons(IShip ship,
IAIPlayer player,
ICity city) |
Determine if weapons should be bougth and if so to meet which target.
|
boolean |
IAICaptainHireStrategy.shouldHire(IAIPlayer player,
IShip vessel,
ICity city) |
Should player hire captain on the vessel.
|
boolean |
IAIGuildJoinStrategy.shouldJoin(IAIPlayer player,
ICity city,
java.util.Optional<INavigableVessel> vessel) |
Decide if player should join the guild in the city.
|
boolean |
IAIEventDecisionStrategy.shouldOrderCelebration(IAIPlayer player,
ICity city) |
Decide if a celebration should be executed.
|
boolean |
IAIConstructionSelectionStrategy.shouldOrderNewConstruction(IAIPlayer player) |
Check if a new ship should be ordered.
|
boolean |
IAITakeLoanStrategy.shouldTakeLoan(IAIPlayer player) |
Check if the player should take out a loan.
|
void |
IAITakeLoanStrategy.takeLoan(IAIPlayer player,
ICity city) |
Take a loan in the city.
|