Class HometownJoinGuildMinCashStrategy
- java.lang.Object
-
- ch.sahits.game.openpatrician.engine.player.strategy.BaseJoinGuildStrategy
-
- ch.sahits.game.openpatrician.engine.player.strategy.HometownJoinGuildMinCashStrategy
-
- All Implemented Interfaces:
IAIGuildJoinStrategy
public class HometownJoinGuildMinCashStrategy extends BaseJoinGuildStrategy
Always join the guild if the player has a certain amount of cash dependent on the entry fee.- Author:
- Andi Hotz, (c) Sahits GmbH, 2016 Created on Nov 15, 2016
-
-
Constructor Summary
Constructors Constructor Description HometownJoinGuildMinCashStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
additionalJoinRequirementsMet(IAIPlayer player, ICity city, java.util.Optional<INavigableVessel> vessel)
Additional requirients added by custom strategies.-
Methods inherited from class ch.sahits.game.openpatrician.engine.player.strategy.BaseJoinGuildStrategy
join, shouldJoin
-
-
-
-
Method Detail
-
additionalJoinRequirementsMet
protected boolean additionalJoinRequirementsMet(IAIPlayer player, ICity city, java.util.Optional<INavigableVessel> vessel)
Description copied from class:BaseJoinGuildStrategy
Additional requirients added by custom strategies.- Specified by:
additionalJoinRequirementsMet
in classBaseJoinGuildStrategy
-
-