Package org.newdawn.slick.util.pathfinding.navmesh

Examples of org.newdawn.slick.util.pathfinding.navmesh.Link


        g.drawRect(space.getX()*10, space.getY()*10, space.getWidth()*10, space.getHeight()*10);

        if (showLinks) {
          int links = space.getLinkCount();
          for (int j=0;j<links;j++) {
            Link link = space.getLink(j);
            g.setColor(Color.red);
            g.fillRect((link.getX()*10)-2, (link.getY()*10)-2,5,5);
          }
        }
      }
    }
   
 
View Full Code Here

TOP

Related Classes of org.newdawn.slick.util.pathfinding.navmesh.Link

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.