Class MovePlan


  • public class MovePlan
    extends Plan
    Make a move and dispatch a subgoal for the next.
    • Field Detail

      • move

        protected Move move
        The move to try.
      • depth

        protected int depth
        The recursion depth.
      • delay

        protected long delay
        The move delay.
      • board

        protected IBoard board
        The board.
    • Constructor Detail

      • MovePlan

        public MovePlan()
    • Method Detail

      • body

        public void body()
        The plan body.
        Specified by:
        body in class Plan
      • failed

        public void failed()
        The plan failure code.
        Overrides:
        failed in class Plan
      • passed

        public void passed()
        The plan passed code.
        Overrides:
        passed in class Plan
      • aborted

        public void aborted()
        The plan aborted code.
        Overrides:
        aborted in class Plan
      • print

        protected void print​(java.lang.String text,
                             int indent)
        Print out an indented string.
        Parameters:
        text - The text.
        indent - The number of cols to indent.