Class AStarPathMap

java.lang.Object
zombie.ai.astar.AStarPathMap

public class AStarPathMap
extends java.lang.Object
  • Field Details

  • Constructor Details

  • Method Details

    • LoadPrecalcFlle

      public void LoadPrecalcFlle() throws java.io.FileNotFoundException, java.io.IOException
      Throws:
      java.io.FileNotFoundException
      java.io.IOException
    • DoPrecalcFile

      public void DoPrecalcFile​(AStarPathFinder finder)
    • getFreeIndex

      public int getFreeIndex​(IsoGameCharacter character)
    • getMovementCost

      public float getMovementCost​(Mover mover, int sx, int sy, int sz, int tx, int ty, int tz)
    • 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

      public IsoGridSquare getNode​(int x, int y, int z)