Class PathFindBehavior2

java.lang.Object
zombie.vehicles.PathFindBehavior2
All Implemented Interfaces:
PolygonalMap2.IPathfinder

public final class PathFindBehavior2 extends Object implements PolygonalMap2.IPathfinder
  • Field Details

    • pathNextIsSet

      public boolean pathNextIsSet
    • pathNextX

      public float pathNextX
    • pathNextY

      public float pathNextY
    • Listeners

      public ArrayList<IPathfinder> Listeners
    • NPCData

      public PathFindBehavior2.NPCData NPCData
    • bStopping

      public boolean bStopping
    • walkingOnTheSpot

      public final WalkingOnTheSpot walkingOnTheSpot
  • Constructor Details

  • Method Details

    • isGoalNone

      public boolean isGoalNone()
    • isGoalCharacter

      public boolean isGoalCharacter()
    • isGoalLocation

      public boolean isGoalLocation()
    • isGoalSound

      public boolean isGoalSound()
    • isGoalVehicleAdjacent

      public boolean isGoalVehicleAdjacent()
    • isGoalVehicleArea

      public boolean isGoalVehicleArea()
    • isGoalVehicleSeat

      public boolean isGoalVehicleSeat()
    • reset

      public void reset()
    • pathToCharacter

      public void pathToCharacter(IsoGameCharacter target)
    • pathToLocation

      public void pathToLocation(int x, int y, int z)
    • pathToLocationF

      public void pathToLocationF(float x, float y, float z)
    • pathToSound

      public void pathToSound(int x, int y, int z)
    • pathToNearest

      public void pathToNearest(gnu.trove.list.array.TFloatArrayList locations)
    • pathToNearestTable

      public void pathToNearestTable(se.krka.kahlua.vm.KahluaTable locationsTable)
    • pathToVehicleAdjacent

      public void pathToVehicleAdjacent(BaseVehicle vehicle)
    • pathToVehicleArea

      public void pathToVehicleArea(BaseVehicle vehicle, String areaId)
    • pathToVehicleSeat

      public void pathToVehicleSeat(BaseVehicle vehicle, int seat)
    • cancel

      public void cancel()
    • getIsCancelled

      public boolean getIsCancelled()
    • setData

      public void setData(float targetX, float targetY, float targetZ)
    • getTargetX

      public float getTargetX()
    • getTargetY

      public float getTargetY()
    • getTargetZ

      public float getTargetZ()
    • getPathLength

      public float getPathLength()
    • getTargetChar

      public IsoGameCharacter getTargetChar()
    • isTargetLocation

      public boolean isTargetLocation(float x, float y, float z)
    • update

    • moveToPoint

      public void moveToPoint(float x, float y, float speedMul)
    • moveToDir

      public void moveToDir(IsoMovingObject target, float speedMul)
    • shouldGetUpFromCrawl

      public boolean shouldGetUpFromCrawl()
    • isStrafing

      public boolean isStrafing()
    • closestPointOnPath

      public static void closestPointOnPath(float x3, float y3, float z, IsoMovingObject mover, PolygonalMap2.Path path, PathFindBehavior2.PointOnPath pop)
    • render

      public void render()
    • Succeeded

      public void Succeeded(PolygonalMap2.Path path, Mover mover)
      Specified by:
      Succeeded in interface PolygonalMap2.IPathfinder
    • Failed

      public void Failed(Mover mover)
      Specified by:
      Failed in interface PolygonalMap2.IPathfinder
    • isMovingUsingPathFind

      public boolean isMovingUsingPathFind()