Class ProductionChainTradeStrategy

  • All Implemented Interfaces:
    ch.sahits.game.openpatrician.model.player.IAITradeStrategy

    public class ProductionChainTradeStrategy
    extends BasePlayerTradeStrategy
    This trade strategy focuses on a production chain with supplying wares for the production and selling the produced wares to a different city.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2016 Created on Jun 19, 2016
    • Constructor Detail

      • ProductionChainTradeStrategy

        public ProductionChainTradeStrategy()
    • Method Detail

      • initializeTradeCycle

        public void initializeTradeCycle​(ch.sahits.game.openpatrician.model.IAIPlayer player,
                                         ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel)
      • handleShipArrivesInPort

        public void handleShipArrivesInPort​(ch.sahits.game.openpatrician.model.event.IShipEntersPortEvent event)