Package maze.ai

Examples of maze.ai.RobotController


    * This function requires an algorithm and a mouse. It will then determine a
    * handful of relevant statistics for the user to access
    */
   public void reload(RobotBase algorithm, MazeModel maze)
   {
      this.controller = new RobotController(maze, algorithm);
      this.initialize();
      this.recompute();
   }
View Full Code Here


            e.printStackTrace();
         }
      }
      this.view = mazeView;
      this.finishedCallback = finishedCallback;
      this.robot = new RobotController(this.view.getModel(), robotAlgorithm);
      this.processingThread = new Thread(this, "Robot Animator");
      this.processingThread.setDaemon(true);
      this.currentState = AnimationStates.Running;
      this.processingThread.start();
   }
View Full Code Here

TOP

Related Classes of maze.ai.RobotController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.