| Modifier and Type | Method and Description |
|---|---|
void |
addTradeStep(ITradeStep tradeStep,
INavigableVessel vessel)
Add a new trade step at the end of the list.
|
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()
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
|
void |
setTradeMission(INavigableVessel vessel,
ITradeMissionData tradeMission)
Add trade mission data fo a vessel.
|
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, getCompany, getFleet, getPersonalData, getSegmentedMap, getSelectableVessels, getSpouseData, isMale, removeSelectableVessel, removeShip, setSegmentedMap, updateRankgetHometown, getLastName, getName, getRankreceiveSumgetLastName, getNameIAITradeStrategyType getTradeStrategyType()
IAIShipRepairStrategyType getShipRepairStrategyType()
IAITakeLoanStrategyType getTakeLoanStrategyType()
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.Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.