Interface IAIEventDecisionStrategy
-
public interface IAIEventDecisionStrategyStrategy for decing how to react on events.- Author:
- Andi Hotz, (c) Sahits GmbH, 2016 Created on Dec 18, 2016
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanacceptMarriagBrokereOffer(IAIPlayer player)Decide if the offer of a marriage broker should be accepted.booleanacceptMarriageOffer(IAIPlayer player)Decide if a marriage offer should be accepted.booleanshouldOrderCelebration(IAIPlayer player, ICity city)Decide if a celebration should be executed.
-
-
-
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
-
-