Class HireDismissTradeManagerMinStorageCapacityStrategy

    • Constructor Detail

      • HireDismissTradeManagerMinStorageCapacityStrategy

        public HireDismissTradeManagerMinStorageCapacityStrategy()
    • Method Detail

      • hireOrFireTradeManager

        public boolean hireOrFireTradeManager​(ICity city,
                                              IAIPlayer player)
        Hire if there is storage capacity larger than 1000 barrels and 80% are occupied.
        Parameters:
        city - for which it should be ckecked
        player - for which the checking happens
        Returns:
        true if the trade manager should be hired or dismissed.