Class CollectConstructionTradingOfficeHolkWareStrategy
- java.lang.Object
-
- ch.sahits.game.openpatrician.engine.player.strategy.BasePlayerTradeStrategy
-
- ch.sahits.game.openpatrician.engine.player.strategy.CollectionWaresStrategy
-
- ch.sahits.game.openpatrician.engine.player.strategy.CollectConstructionWareStrategy
-
- ch.sahits.game.openpatrician.engine.player.strategy.CollectionConstructionTradingOfficeWaresStrategy
-
- ch.sahits.game.openpatrician.engine.player.strategy.CollectConstructionTradingOfficeHolkWareStrategy
-
- All Implemented Interfaces:
IAICityDependentShipConstructionStrategy
,IAITradeStrategy
public class CollectConstructionTradingOfficeHolkWareStrategy extends CollectionConstructionTradingOfficeWaresStrategy
Strategy to collect wares to construct a holk.- Author:
- Andi Hotz, (c) Sahits GmbH, 2016 Created on Jul 26, 2016
-
-
Field Summary
-
Fields inherited from class ch.sahits.game.openpatrician.engine.player.strategy.BasePlayerTradeStrategy
tradeStrategyType
-
-
Constructor Summary
Constructors Constructor Description CollectConstructionTradingOfficeHolkWareStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IAITradeStrategyType
getStrategyType()
Retrieve the strategy type for this strategy.-
Methods inherited from class ch.sahits.game.openpatrician.engine.player.strategy.CollectionConstructionTradingOfficeWaresStrategy
getConstructionCity
-
Methods inherited from class ch.sahits.game.openpatrician.engine.player.strategy.CollectConstructionWareStrategy
checkAllWaresCollected, createMissionData
-
Methods inherited from class ch.sahits.game.openpatrician.engine.player.strategy.CollectionWaresStrategy
handleShipArrivesInPort, initializeTradeCycle
-
Methods inherited from class ch.sahits.game.openpatrician.engine.player.strategy.BasePlayerTradeStrategy
addDefaultTradeSteps, append, createAggregatedBuyTradeStep, createAggregatedCheckedBuyTradeStep, createAggregatedCheckedSellStep, createAggregatedDumpStep, createAggregatedSellStep, createCheckAndTakeLoanStep, createCheckedTransferToOfficeTradeStep, createCheckRepairStep, createConditionalAggregatedDumpStep, createHireCaptain, createHireDismissTradeManagerTradeStep, createHireSailorStep, createJoinGuildTradeStep, createPaybackLoanStep, createTransferToOfficeTradeStep, createTransferToShipTradeStep, createTravelToStep, createUpgradeShipTradeStep, createWeaponBuyTradeStep, executeTradeSteps, findCitySupplyingWare, findCityWithAllRequiredWares, findDestinationToBuyRequiredProductionWares, findNextStopForBuying, findNextStopForSelling, findProvidingWares, findWaresOfInterest, getCityToRestartTradeCycle, getLoadedWares, getMostNeededWares, getMostNeededWares, getNextStep, getWaresNeedIn, handleHireSailors, handleRefitFinished, handleRepairFinished, hasBlockingMission, hasMoreTradeSteps, inject, isMatchingTradeStrategy, isNeeded
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.sahits.game.openpatrician.engine.player.strategy.IAICityDependentShipConstructionStrategy
setConstructionCity
-
Methods inherited from interface ch.sahits.game.openpatrician.model.player.IAITradeStrategy
isSelectable
-
-
-
-
Method Detail
-
getStrategyType
protected IAITradeStrategyType getStrategyType()
Description copied from class:CollectionWaresStrategy
Retrieve the strategy type for this strategy.- Specified by:
getStrategyType
in classCollectionWaresStrategy
- Returns:
- AI trade strategy type.
-
-