Package zombie.ai.astar
Class AStarPathMap
java.lang.Object
zombie.ai.astar.AStarPathMap
public class AStarPathMap
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description TileBasedMap
map
-
Constructor Summary
Constructors Constructor Description AStarPathMap(TileBasedMap map)
-
Method Summary
Modifier and Type Method Description void
DoPrecalcFile(AStarPathFinder finder)
int
getFreeIndex(IsoGameCharacter character)
float
getMovementCost(Mover mover, int sx, int sy, int sz, int tx, int ty, int tz)
IsoGridSquare
getNode(int x, int y, int z)
protected boolean
isValidLocation(Mover mover, int sx, int sy, int sz, int x, int y, int z, int lx, int ly, int lz)
void
LoadPrecalcFlle()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
map
-
-
Constructor Details
-
AStarPathMap
-
-
Method Details
-
LoadPrecalcFlle
public void LoadPrecalcFlle() throws java.io.FileNotFoundException, java.io.IOException- Throws:
java.io.FileNotFoundException
java.io.IOException
-
DoPrecalcFile
-
getFreeIndex
-
getMovementCost
-
isValidLocation
protected boolean isValidLocation(Mover mover, int sx, int sy, int sz, int x, int y, int z, int lx, int ly, int lz) -
getNode
-