Class PathFindBehavior2

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

public class PathFindBehavior2
extends java.lang.Object
implements PolygonalMap2.IPathfinder
  • Constructor Details

    • PathFindBehavior2

      public PathFindBehavior2​(IsoGameCharacter gameCharacter)
  • Method Details

    • isGoal2Location

      public boolean isGoal2Location()
    • pathToCharacter

      public void pathToCharacter​(IsoGameCharacter gameCharacter)
    • pathToLocation

      public void pathToLocation​(int int1, int int2, int int3)
    • pathToLocationF

      public void pathToLocationF​(float float1, float float2, float float3)
    • pathToVehicleArea

      public void pathToVehicleArea​(BaseVehicle baseVehicle, java.lang.String string)
    • pathToVehicleSeat

      public void pathToVehicleSeat​(BaseVehicle baseVehicle, int int1)
    • cancel

      public void cancel()
    • getTargetX

      public float getTargetX()
    • getTargetY

      public float getTargetY()
    • getTargetZ

      public float getTargetZ()
    • getTargetChar

      public IsoGameCharacter getTargetChar()
    • isTargetLocation

      public boolean isTargetLocation​(float float1, float float2, float float3)
    • update

      public Behavior.BehaviorResult update()
    • closestPointOnPath

      public static void closestPointOnPath​(float float1, float float2, float float3, IsoMovingObject movingObject, PolygonalMap2.Path path, PathFindBehavior2.PointOnPath pointOnPath)
    • 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