Java 类org.newdawn.slick.util.pathfinding.navmesh.NavMeshBuilder 实例源码

项目:trashjam2017    文件:NavMeshTest.java   
/**
 * Initialise resources and the map data
 * 
 * @param container the container the game is running in 
 */
public void init(GameContainer container) throws SlickException {
    container.setShowFPS(false);

    try {
        dataMap = new DataMap("testdata/map.dat");
    } catch (IOException e) {
        throw new SlickException("Failed to load map data", e);
    }
    builder = new NavMeshBuilder();
    navMesh = builder.build(dataMap);

    System.out.println("Navmesh shapes: "+navMesh.getSpaceCount());
}
项目:Progetto-C    文件:NavMeshTest.java   
/**
 * Initialise resources and the map data
 * 
 * @param container the container the game is running in 
 */
public void init(GameContainer container) throws SlickException {
    container.setShowFPS(false);

    try {
        dataMap = new DataMap("testdata/map.dat");
    } catch (IOException e) {
        throw new SlickException("Failed to load map data", e);
    }
    builder = new NavMeshBuilder();
    navMesh = builder.build(dataMap);

    System.out.println("Navmesh shapes: "+navMesh.getSpaceCount());
}
项目:BaseClient    文件:NavMeshTest.java   
/**
 * Initialise resources and the map data
 * 
 * @param container the container the game is running in 
 */
public void init(GameContainer container) throws SlickException {
    container.setShowFPS(false);

    try {
        dataMap = new DataMap("testdata/map.dat");
    } catch (IOException e) {
        throw new SlickException("Failed to load map data", e);
    }
    builder = new NavMeshBuilder();
    navMesh = builder.build(dataMap);

    System.out.println("Navmesh shapes: "+navMesh.getSpaceCount());
}
项目:GPVM    文件:NavMeshTest.java   
/**
 * Initialise resources and the map data
 * 
 * @param container the container the game is running in 
 */
public void init(GameContainer container) throws SlickException {
    container.setShowFPS(false);

    try {
        dataMap = new DataMap("testdata/map.dat");
    } catch (IOException e) {
        throw new SlickException("Failed to load map data", e);
    }
    builder = new NavMeshBuilder();
    navMesh = builder.build(dataMap);

    System.out.println("Navmesh shapes: "+navMesh.getSpaceCount());
}
项目:SpaceStationAlpha    文件:NavMeshTest.java   
/**
 * Initialise resources and the map data
 * 
 * @param container the container the game is running in 
 */
public void init(GameContainer container) throws SlickException {
    container.setShowFPS(false);

    try {
        dataMap = new DataMap("testdata/map.dat");
    } catch (IOException e) {
        throw new SlickException("Failed to load map data", e);
    }
    builder = new NavMeshBuilder();
    navMesh = builder.build(dataMap);

    System.out.println("Navmesh shapes: "+navMesh.getSpaceCount());
}
项目:cretion    文件:NavMeshTest.java   
/**
 * Initialise resources and the map data
 * 
 * @param container the container the game is running in 
 */
public void init(GameContainer container) throws SlickException {
    container.setShowFPS(false);

    try {
        dataMap = new DataMap("testdata/map.dat");
    } catch (IOException e) {
        throw new SlickException("Failed to load map data", e);
    }
    builder = new NavMeshBuilder();
    navMesh = builder.build(dataMap);

    System.out.println("Navmesh shapes: "+navMesh.getSpaceCount());
}
项目:slick2d-maven    文件:NavMeshTest.java   
/**
 * Initialise resources and the map data
 * 
 * @param container the container the game is running in 
 */
public void init(GameContainer container) throws SlickException {
    container.setShowFPS(false);

    try {
        dataMap = new DataMap("testdata/map.dat");
    } catch (IOException e) {
        throw new SlickException("Failed to load map data", e);
    }
    builder = new NavMeshBuilder();
    navMesh = builder.build(dataMap);

    System.out.println("Navmesh shapes: "+navMesh.getSpaceCount());
}