|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.newdawn.slick.util.pathfinding.navmesh.NavMeshBuilder
public class NavMeshBuilder
The builder responsible for converting a tile based map into a navigation mesh
| Constructor Summary | |
|---|---|
NavMeshBuilder()
|
|
| Method Summary | |
|---|---|
NavMesh |
build(TileBasedMap map)
Build a navigation mesh based on a tile map |
NavMesh |
build(TileBasedMap map,
boolean tileBased)
Build a navigation mesh based on a tile map |
boolean |
clear(TileBasedMap map,
Space space)
Check if a particular space is clear of blockages |
Mover |
getMover()
Path finding context implementation |
int |
getSearchDistance()
Path finding context implementation |
int |
getSourceX()
Path finding context implementation |
int |
getSourceY()
Path finding context implementation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NavMeshBuilder()
| Method Detail |
|---|
public NavMesh build(TileBasedMap map)
map - The map to build the navigation mesh from
public NavMesh build(TileBasedMap map,
boolean tileBased)
map - The map to build the navigation mesh fromtileBased - True if we'll use the tiles for the mesh initially
rather than quad spacing
public boolean clear(TileBasedMap map,
Space space)
map - The map the spaces are being built fromspace - The space to check
public Mover getMover()
getMover in interface PathFindingContextpublic int getSearchDistance()
getSearchDistance in interface PathFindingContextpublic int getSourceX()
getSourceX in interface PathFindingContextpublic int getSourceY()
getSourceY in interface PathFindingContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||