Interface IAIHireTradeManagerStrategy


  • public interface IAIHireTradeManagerStrategy
    Stragegy to handle the hiring and dimissal policies for a trade manager.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2017 Created on Oct 17, 2017
    • Method Detail

      • hireOrFireTradeManager

        boolean hireOrFireTradeManager​(ICity city,
                                       IAIPlayer player)
        Decide if a trade manager should be hired or dismissed.
        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.
      • hireOrDismiss

        void hireOrDismiss​(ICity city,
                           IAIPlayer player)
        Hire or dismiss a trading manager.
        Parameters:
        city - in which the hiring is done
        player - for which the hiring is done.