Class CheapProductionTradeStrategy

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

    public class CheapProductionTradeStrategy
    extends BasePlayerTradeStrategy
    This trade strategy focuses on the cheap production of wares and sells them in the nearest city where there is a need.
    • Constructor Detail

      • CheapProductionTradeStrategy

        public CheapProductionTradeStrategy()
    • 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)