Class AbstractAI.AbstractAIOracle

  • All Implemented Interfaces:
    IHintOracle
    Enclosing class:
    AbstractAI

    protected class AbstractAI.AbstractAIOracle
    extends java.lang.Object
    implements IHintOracle
    • Method Detail

      • canReach

        public boolean canReach​(java.lang.String terrainTypeName)
        Description copied from interface: IHintOracle
        A terrain can be reached by the legion with one move.
        Specified by:
        canReach in interface IHintOracle
      • creatureAvailable

        public int creatureAvailable​(java.lang.String name)
        Description copied from interface: IHintOracle
        The number of currently available creatures of the given type.
        Specified by:
        creatureAvailable in interface IHintOracle
      • canRecruit

        public boolean canRecruit​(java.lang.String name)
        Description copied from interface: IHintOracle
        A creature with the given name could be recruited.
        Specified by:
        canRecruit in interface IHintOracle
      • hexLabel

        public java.lang.String hexLabel()
        Description copied from interface: IHintOracle
        The label of the master board hex under consideration.
        Specified by:
        hexLabel in interface IHintOracle
      • biggestAttackerHeight

        public int biggestAttackerHeight()
        Description copied from interface: IHintOracle
        The height of the tallest legion that can attack the legion we consider. 0 if none can attack.
        Specified by:
        biggestAttackerHeight in interface IHintOracle