Package maze.model

Examples of maze.model.RobotPathModel


    * @param g What to draw on.
    */
   private void drawTopLayer(final Graphics2D g)
   {
      this.setRenderingQualityLow(g);
      final RobotPathModel pathModel = this.robotPathModel;
      if (pathModel != null)
      {
         if (this.drawPathFirst)
         {
            g.setPaint(this.painter.getRunFirst());
            this.drawPath(g, pathModel.getPathFirst(), this.csm.getWallWidth(), false);
         }
         if (this.drawPathBest)
         {
            g.setPaint(this.painter.getRunBest());
            this.drawPath(g, pathModel.getPathBest(), -this.csm.getWallWidth(), false);
         }
         if (this.drawPathCurrent)
         {
            g.setPaint(this.painter.getRunCurrent());
            this.drawPath(g, pathModel.getPathRecent(), 0, true);
         }
      }
      if (this.drawUnderstanding)
      {
         this.drawUnderstanding(g);
View Full Code Here

TOP

Related Classes of maze.model.RobotPathModel

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.