protected class AbstractAI.AbstractAIOracle extends java.lang.Object implements IHintOracle
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<MasterHex,java.util.List<Legion>>[] |
enemyAttackMap |
private MasterHex |
hex |
private LegionClientSide |
legion |
private java.util.List<CreatureType> |
recruits |
| Constructor and Description |
|---|
AbstractAI.AbstractAIOracle(LegionClientSide legion,
MasterHex hex,
java.util.List<CreatureType> recruits) |
| Modifier and Type | Method and Description |
|---|---|
int |
biggestAttackerHeight()
The height of the tallest legion that can attack
the legion we consider.
|
boolean |
canReach(java.lang.String terrainTypeName)
A terrain can be reached by the legion with one move.
|
boolean |
canRecruit(java.lang.String name)
A creature with the given name could be recruited.
|
int |
creatureAvailable(CreatureType creatureType) |
int |
creatureAvailable(java.lang.String name)
The number of currently available creatures of the given type.
|
java.lang.String |
hexLabel()
The label of the master board hex under consideration.
|
private final LegionClientSide legion
private final MasterHex hex
private final java.util.List<CreatureType> recruits
AbstractAI.AbstractAIOracle(LegionClientSide legion, MasterHex hex, java.util.List<CreatureType> recruits)
public boolean canReach(java.lang.String terrainTypeName)
IHintOraclecanReach in interface IHintOraclepublic int creatureAvailable(java.lang.String name)
IHintOraclecreatureAvailable in interface IHintOraclepublic int creatureAvailable(CreatureType creatureType)
creatureAvailable in interface IHintOraclepublic boolean canRecruit(java.lang.String name)
IHintOraclecanRecruit in interface IHintOraclepublic java.lang.String hexLabel()
IHintOraclehexLabel in interface IHintOraclepublic int biggestAttackerHeight()
IHintOraclebiggestAttackerHeight in interface IHintOracle