Interface IHintOracle
- All Known Implementing Classes:
AbstractAI.AbstractAIOracle
public interface IHintOracle
Interface for an Oracle used for AI Hints.
These methods are to be used in the context of a given legion,
on a given master board hex and with a list of recruit options.
This is currently implemented by AbstractAI.
- Author:
- Romain Dolbeau
-
Method Summary
Modifier and TypeMethodDescriptionintThe height of the tallest legion that can attack the legion we consider.booleanA terrain can be reached by the legion with one move.booleancanRecruit(String name) A creature with the given name could be recruited.intcreatureAvailable(String name) The number of currently available creatures of the given type.intcreatureAvailable(CreatureType creatureType) hexLabel()The label of the master board hex under consideration.
-
Method Details
-
canRecruit
A creature with the given name could be recruited. -
canReach
A terrain can be reached by the legion with one move. -
creatureAvailable
The number of currently available creatures of the given type. -
creatureAvailable
-
biggestAttackerHeight
int biggestAttackerHeight()The height of the tallest legion that can attack the legion we consider. 0 if none can attack. -
hexLabel
String hexLabel()The label of the master board hex under consideration.
-