| Modifier and Type | Method and Description |
|---|---|
void |
addTradeStep(ITradeStep tradeStep,
INavigableVessel vessel)
Add a new trade step at the end of the list.
|
IAICaptainHireStrategyType |
getCaptainHireStrategyType()
Retrieve the type of the strategy to hire captains.
|
IAIConstructionSelectionStrategyType |
getConstructionSelectionType()
Retrieve the type of the strategy to use for deciding how to build new ships.
|
IAIEventDecisionStrategyType |
getEventDecitionStrategyType()
Retrieve the strategy type for event decission.
|
IAIGuildJoinStrategyType |
getGuildJoinStrategyType()
Retrieve the strategy to join guilds.
|
ITradeStep |
getNextTradeStep(INavigableVessel vessel)
Retrieve the next trade step that should be executed and remove it from the list.
|
IProductionConsumptionKnowledge |
getProductionAndConsumptionKnowledge()
Retrieve the knowledge of production and consumption.
|
IAIShipRepairStrategyType |
getShipRepairStrategyType()
Retrieve the type of for the ship repair strategy.
|
IAITakeLoanStrategyType |
getTakeLoanStrategyType()
Retrieve the type of the strategy for taking a loan.
|
ITradeMissionData |
getTradeMission(INavigableVessel vessel)
Retrieve the trade mission of a given vessel.
|
IAITradeStrategyType |
getTradeStrategyType(INavigableVessel vessel)
Retreive the the type of trade strategy.
|
boolean |
hasMoreTradeSteps(INavigableVessel vessel)
Check if there are further trade steps.
|
void |
injectTradeStep(ITradeStep tradeStep,
INavigableVessel vessel)
Inject a trade step at the beinning of the task list for the vessel
|
boolean |
isInitialized(INavigableVessel vessel)
Check if the trade strategy for the vessel is initialized.
|
void |
setTradeMission(INavigableVessel vessel,
ITradeMissionData tradeMission)
Add trade mission data fo a vessel.
|
void |
setTradeStrategyType(INavigableVessel vessel,
IAITradeStrategyType type) |
void |
updateTradeWaitingStatus(INavigableVessel vessel,
boolean wait)
Update the waiting status upon the execution of a trade step.
|
boolean |
waitingForTradeStepToFinish(INavigableVessel vessel)
Check if the next trade step can be executed for the vessel, or if the last
trade step requires waiting on an event.
|
addSelectableVessel, addShip, findBuildings, findBuildings, findShips, findTradingOffice, getCareerLevel, getChildren, getCompany, getCriminalDrive, getFleet, getPersonalData, getSegmentedMap, getSelectableVessels, getSpouseData, marry, removeSelectableVessel, removeShip, setCareerLevel, setSegmentedMap, spouseDies, updateCrimialDrive, updateRankgetHometown, getLastName, getName, getRankreceiveSumgetLastName, getNamevoid setTradeStrategyType(INavigableVessel vessel, IAITradeStrategyType type)
IAITradeStrategyType getTradeStrategyType(INavigableVessel vessel)
IAIShipRepairStrategyType getShipRepairStrategyType()
IAITakeLoanStrategyType getTakeLoanStrategyType()
IAIEventDecisionStrategyType getEventDecitionStrategyType()
IAIConstructionSelectionStrategyType getConstructionSelectionType()
IAICaptainHireStrategyType getCaptainHireStrategyType()
IAIGuildJoinStrategyType getGuildJoinStrategyType()
IProductionConsumptionKnowledge getProductionAndConsumptionKnowledge()
ITradeStep getNextTradeStep(INavigableVessel vessel)
vessel - for which the next trade step should be checked.boolean hasMoreTradeSteps(INavigableVessel vessel)
vessel - which should be checked.void addTradeStep(ITradeStep tradeStep, INavigableVessel vessel)
vessel - for which the step should be added.tradeStep - to be added.ITradeMissionData getTradeMission(INavigableVessel vessel)
vessel - void setTradeMission(INavigableVessel vessel, ITradeMissionData tradeMission)
vessel - tradeMission - void injectTradeStep(ITradeStep tradeStep, INavigableVessel vessel)
vessel - for which the step should be added.tradeStep - to be added.boolean waitingForTradeStepToFinish(INavigableVessel vessel)
vessel - for which the status should be checked.void updateTradeWaitingStatus(INavigableVessel vessel, boolean wait)
vessel - for which the status should be updated.wait - inicate if the next trade step should wait.boolean isInitialized(INavigableVessel vessel)
vessel - to be checkedCopyright © 2011-2017 Sahits GmbH. All Rights Reserved.