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 Type
    Method
    Description
    int
    The height of the tallest legion that can attack the legion we consider.
    boolean
    canReach(String terrain)
    A terrain can be reached by the legion with one move.
    boolean
    A creature with the given name could be recruited.
    int
    The number of currently available creatures of the given type.
    int
     
    The label of the master board hex under consideration.
  • Method Details

    • canRecruit

      boolean canRecruit(String name)
      A creature with the given name could be recruited.
    • canReach

      boolean canReach(String terrain)
      A terrain can be reached by the legion with one move.
    • creatureAvailable

      int creatureAvailable(String name)
      The number of currently available creatures of the given type.
    • creatureAvailable

      int creatureAvailable(CreatureType creatureType)
    • 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.