Class SupplyHometownAIStrategy

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

    public class SupplyHometownAIStrategy
    extends BasePlayerTradeStrategy
    AI strategy for trading with the aim to supply the players home town.
    • Constructor Detail

      • SupplyHometownAIStrategy

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