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());
}