public class FleetBasedEventDecisionStrategy extends Object implements ch.sahits.game.openpatrician.model.player.IAIEventDecisionStrategy
| Constructor and Description |
|---|
FleetBasedEventDecisionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptMarriagBrokereOffer(ch.sahits.game.openpatrician.model.IAIPlayer player) |
boolean |
acceptMarriageOffer(ch.sahits.game.openpatrician.model.IAIPlayer player) |
private boolean |
isFleetLargeEnough(ch.sahits.game.openpatrician.model.IPlayer player) |
boolean |
shouldOrderCelebration(ch.sahits.game.openpatrician.model.IAIPlayer player,
ch.sahits.game.openpatrician.model.city.ICity city) |
public boolean acceptMarriagBrokereOffer(ch.sahits.game.openpatrician.model.IAIPlayer player)
acceptMarriagBrokereOffer in interface ch.sahits.game.openpatrician.model.player.IAIEventDecisionStrategypublic boolean acceptMarriageOffer(ch.sahits.game.openpatrician.model.IAIPlayer player)
acceptMarriageOffer in interface ch.sahits.game.openpatrician.model.player.IAIEventDecisionStrategypublic boolean shouldOrderCelebration(ch.sahits.game.openpatrician.model.IAIPlayer player,
ch.sahits.game.openpatrician.model.city.ICity city)
shouldOrderCelebration in interface ch.sahits.game.openpatrician.model.player.IAIEventDecisionStrategyprivate boolean isFleetLargeEnough(ch.sahits.game.openpatrician.model.IPlayer player)
Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.