public class AlwaysJoinGuildMinCashStrategy extends Object implements ch.sahits.game.openpatrician.model.player.IAIGuildJoinStrategy
| Modifier and Type | Field and Description |
|---|---|
private static int |
ENTRY_FEE_FACTOR |
private ch.sahits.game.openpatrician.model.city.guild.GuildList |
guildList |
private GuildService |
guildService |
| Constructor and Description |
|---|
AlwaysJoinGuildMinCashStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
join(ch.sahits.game.openpatrician.model.IAIPlayer player,
ch.sahits.game.openpatrician.model.city.ICity city) |
boolean |
shouldJoin(ch.sahits.game.openpatrician.model.IAIPlayer player,
ch.sahits.game.openpatrician.model.city.ICity city,
Optional<ch.sahits.game.openpatrician.model.ship.INavigableVessel> vessel) |
private static final int ENTRY_FEE_FACTOR
@Autowired private ch.sahits.game.openpatrician.model.city.guild.GuildList guildList
@Autowired private GuildService guildService
public boolean shouldJoin(ch.sahits.game.openpatrician.model.IAIPlayer player,
ch.sahits.game.openpatrician.model.city.ICity city,
Optional<ch.sahits.game.openpatrician.model.ship.INavigableVessel> vessel)
shouldJoin in interface ch.sahits.game.openpatrician.model.player.IAIGuildJoinStrategypublic void join(ch.sahits.game.openpatrician.model.IAIPlayer player,
ch.sahits.game.openpatrician.model.city.ICity city)
join in interface ch.sahits.game.openpatrician.model.player.IAIGuildJoinStrategyCopyright © 2011-2017 Sahits GmbH. All Rights Reserved.