Java 类org.newdawn.slick.util.pathfinding.heuristics.ClosestHeuristic 实例源码

项目:JavaRA    文件:VehiclePathfinder.java   
public VehiclePathfinder(World world) {
this.pathfinder = new AStarPathFinder(world, MAX_SEARCH_DISTANCE,
    true, new ClosestHeuristic());
   }
项目:JavaRA    文件:InfantryPathfinder.java   
public InfantryPathfinder(World world) {
this.pathfinder = new AStarPathFinder(world, MAX_SEARCH_DISTANCE,
    true, new ClosestHeuristic());
   }
项目:trashjam2017    文件:AStarPathFinder.java   
/**
 * Create a path finder with the default heuristic - closest to target.
 * 
 * @param map The map to be searched
 * @param maxSearchDistance The maximum depth we'll search before giving up
 * @param allowDiagMovement True if the search should try diaganol movement
 */
public AStarPathFinder(TileBasedMap map, int maxSearchDistance, boolean allowDiagMovement) {
    this(map, maxSearchDistance, allowDiagMovement, new ClosestHeuristic());
}
项目:Progetto-C    文件:AStarPathFinder.java   
/**
 * Create a path finder with the default heuristic - closest to target.
 * 
 * @param map The map to be searched
 * @param maxSearchDistance The maximum depth we'll search before giving up
 * @param allowDiagMovement True if the search should try diaganol movement
 */
public AStarPathFinder(TileBasedMap map, int maxSearchDistance, boolean allowDiagMovement) {
    this(map, maxSearchDistance, allowDiagMovement, new ClosestHeuristic());
}
项目:BaseClient    文件:AStarPathFinder.java   
/**
 * Create a path finder with the default heuristic - closest to target.
 * 
 * @param map The map to be searched
 * @param maxSearchDistance The maximum depth we'll search before giving up
 * @param allowDiagMovement True if the search should try diaganol movement
 */
public AStarPathFinder(TileBasedMap map, int maxSearchDistance, boolean allowDiagMovement) {
    this(map, maxSearchDistance, allowDiagMovement, new ClosestHeuristic());
}
项目:GPVM    文件:AStarPathFinder.java   
/**
 * Create a path finder with the default heuristic - closest to target.
 * 
 * @param map The map to be searched
 * @param maxSearchDistance The maximum depth we'll search before giving up
 * @param allowDiagMovement True if the search should try diaganol movement
 */
public AStarPathFinder(TileBasedMap map, int maxSearchDistance, boolean allowDiagMovement) {
    this(map, maxSearchDistance, allowDiagMovement, new ClosestHeuristic());
}
项目:GPVM    文件:AStarPathFinder.java   
/**
 * Create a path finder with the default heuristic - closest to target.
 * 
 * @param map The map to be searched
 * @param maxSearchDistance The maximum depth we'll search before giving up
 * @param allowDiagMovement True if the search should try diaganol movement
 */
public AStarPathFinder(TileBasedMap map, int maxSearchDistance, boolean allowDiagMovement) {
    this(map, maxSearchDistance, allowDiagMovement, new ClosestHeuristic());
}
项目:SpaceStationAlpha    文件:AStarPathFinder.java   
/**
 * Create a path finder with the default heuristic - closest to target.
 * 
 * @param map The map to be searched
 * @param maxSearchDistance The maximum depth we'll search before giving up
 * @param allowDiagMovement True if the search should try diaganol movement
 */
public AStarPathFinder(TileBasedMap map, int maxSearchDistance, boolean allowDiagMovement) {
    this(map, maxSearchDistance, allowDiagMovement, new ClosestHeuristic());
}
项目:cretion    文件:AStarPathFinder.java   
/**
 * Create a path finder with the default heuristic - closest to target.
 * 
 * @param map The map to be searched
 * @param maxSearchDistance The maximum depth we'll search before giving up
 * @param allowDiagMovement True if the search should try diaganol movement
 */
public AStarPathFinder(TileBasedMap map, int maxSearchDistance, boolean allowDiagMovement) {
    this(map, maxSearchDistance, allowDiagMovement, new ClosestHeuristic());
}
项目:slick2d-maven    文件:AStarPathFinder.java   
/**
 * Create a path finder with the default heuristic - closest to target.
 * 
 * @param map The map to be searched
 * @param maxSearchDistance The maximum depth we'll search before giving up
 * @param allowDiagMovement True if the search should try diaganol movement
 */
public AStarPathFinder(TileBasedMap map, int maxSearchDistance, boolean allowDiagMovement) {
    this(map, maxSearchDistance, allowDiagMovement, new ClosestHeuristic());
}