public class NearHometownJoinGuildMinCashStrategy extends BaseJoinGuildStrategy
| Modifier and Type | Field and Description |
|---|---|
private ch.sahits.game.openpatrician.model.map.IMap |
map |
private static int |
MAX_DISTANCE_IN_KM |
private double |
maxDistanceInPixels |
| Constructor and Description |
|---|
NearHometownJoinGuildMinCashStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
additionalJoinRequirementsMet(ch.sahits.game.openpatrician.model.IAIPlayer player,
ch.sahits.game.openpatrician.model.city.ICity city,
Optional<ch.sahits.game.openpatrician.model.ship.INavigableVessel> vessel)
Additional requirients added by custom strategies.
|
(package private) void |
init() |
join, shouldJoinprivate static final int MAX_DISTANCE_IN_KM
private double maxDistanceInPixels
@Autowired private ch.sahits.game.openpatrician.model.map.IMap map
public NearHometownJoinGuildMinCashStrategy()
@PostConstruct void init()
protected boolean additionalJoinRequirementsMet(ch.sahits.game.openpatrician.model.IAIPlayer player,
ch.sahits.game.openpatrician.model.city.ICity city,
Optional<ch.sahits.game.openpatrician.model.ship.INavigableVessel> vessel)
BaseJoinGuildStrategyadditionalJoinRequirementsMet in class BaseJoinGuildStrategyCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.