Interface IAIEventDecisionStrategy

    • Method Detail

      • acceptMarriagBrokereOffer

        boolean acceptMarriagBrokereOffer​(IAIPlayer player)
        Decide if the offer of a marriage broker should be accepted.
        Parameters:
        player - who has to make the decision
        Returns:
        true if the player accepts the marriage broker offer
      • acceptMarriageOffer

        boolean acceptMarriageOffer​(IAIPlayer player)
        Decide if a marriage offer should be accepted.
        Parameters:
        player - who has to make the decision
        Returns:
        true if hte player accepts the marriage offer
      • shouldOrderCelebration

        boolean shouldOrderCelebration​(IAIPlayer player,
                                       ICity city)
        Decide if a celebration should be executed.
        Parameters:
        player - who has to make the decision
        city - where the celebration takes place
        Returns:
        true if the player whished to order a celebration in city.