Class CollectConstructionHometownHolkWareStrategy
- 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.CollectionConstructionHometownWaresStrategy
-
- ch.sahits.game.openpatrician.engine.player.strategy.CollectConstructionHometownHolkWareStrategy
-
- All Implemented Interfaces:
ch.sahits.game.openpatrician.model.player.IAITradeStrategy
public class CollectConstructionHometownHolkWareStrategy extends CollectionConstructionHometownWaresStrategy
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 CollectConstructionHometownHolkWareStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ch.sahits.game.openpatrician.model.player.IAITradeStrategyTypegetStrategyType()Retrieve the strategy type for this strategy.-
Methods inherited from class ch.sahits.game.openpatrician.engine.player.strategy.CollectionConstructionHometownWaresStrategy
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, findDestinationToBuyRequiredProductionWares, findNextStopForBuying, findNextStopForSelling, findProvidingWares, findWaresOfInterest, getCityToRestartTradeCycle, getLoadedWares, getMostNeededWares, getMostNeededWares, getNextStep, getWaresNeedIn, handleHireSailors, handleRefitFinished, handleRepairFinished, hasBlockingMission, hasMoreTradeSteps, inject, isMatchingTradeStrategy, isNeeded
-
-
-
-
Method Detail
-
getStrategyType
protected ch.sahits.game.openpatrician.model.player.IAITradeStrategyType getStrategyType()
Description copied from class:CollectionWaresStrategyRetrieve the strategy type for this strategy.- Specified by:
getStrategyTypein classCollectionWaresStrategy- Returns:
- AI trade strategy type.
-
-