Package net.sf.colossus.variant
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 TypeMethodDescriptionint
The height of the tallest legion that can attack the legion we consider.boolean
A terrain can be reached by the legion with one move.boolean
canRecruit
(String name) A creature with the given name could be recruited.int
creatureAvailable
(String name) The number of currently available creatures of the given type.int
creatureAvailable
(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.
-