Class PathFindBehavior2
java.lang.Object
zombie.pathfind.PathFindBehavior2
- All Implemented Interfaces:
IPathfinder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumclassstatic final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidcancel()static voidclosestPointOnPath(float arg0, float arg1, float arg2, IsoMovingObject arg3, Path arg4, PathFindBehavior2.PointOnPath arg5) voidbooleanfloatfloatfloatfloatbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisTargetLocation(float arg0, float arg1, float arg2) booleanvoidmoveToDir(IsoMovingObject arg0, float arg1) voidmoveToPoint(float arg0, float arg1, float arg2) voidvoidpathToLocation(int arg0, int arg1, int arg2) voidpathToLocationF(float arg0, float arg1, float arg2) voidpathToNearest(gnu.trove.list.array.TFloatArrayList arg0) voidvoidpathToSitOnFurniture(IsoObject arg0, boolean arg1) voidpathToSound(int arg0, int arg1, int arg2) voidvoidpathToVehicleArea(BaseVehicle arg0, String arg1) voidpathToVehicleSeat(BaseVehicle arg0, int arg1) voidrender()voidreset()voidsetData(float arg0, float arg1, float arg2) booleanbooleanbooleanvoidupdate()
-
Field Details
-
pathNextIsSet
public boolean pathNextIsSet -
pathNextX
public float pathNextX -
pathNextY
public float pathNextY -
Listeners
-
NPCData
-
bStopping
public boolean bStopping -
walkingOnTheSpot
-
-
Constructor Details
-
PathFindBehavior2
-
-
Method Details
-
isGoalNone
public boolean isGoalNone() -
isGoalCharacter
public boolean isGoalCharacter() -
isGoalLocation
public boolean isGoalLocation() -
isGoalSound
public boolean isGoalSound() -
isGoalSitOnFurniture
public boolean isGoalSitOnFurniture() -
getGoalSitOnFurnitureObject
-
isGoalVehicleAdjacent
public boolean isGoalVehicleAdjacent() -
isGoalVehicleArea
public boolean isGoalVehicleArea() -
isGoalVehicleSeat
public boolean isGoalVehicleSeat() -
reset
public void reset() -
pathToCharacter
-
pathToLocation
public void pathToLocation(int arg0, int arg1, int arg2) -
pathToLocationF
public void pathToLocationF(float arg0, float arg1, float arg2) -
pathToSound
public void pathToSound(int arg0, int arg1, int arg2) -
pathToNearest
public void pathToNearest(gnu.trove.list.array.TFloatArrayList arg0) -
pathToNearestTable
-
pathToSitOnFurniture
-
shouldIgnoreCollisionWithSquare
-
pathToVehicleAdjacent
-
pathToVehicleArea
-
pathToVehicleSeat
-
cancel
public void cancel() -
getIsCancelled
public boolean getIsCancelled() -
setData
public void setData(float arg0, float arg1, float arg2) -
getTargetX
public float getTargetX() -
getTargetY
public float getTargetY() -
getTargetZ
public float getTargetZ() -
getPathLength
public float getPathLength() -
getTargetChar
-
isTargetLocation
public boolean isTargetLocation(float arg0, float arg1, float arg2) -
update
-
moveToPoint
public void moveToPoint(float arg0, float arg1, float arg2) -
moveToDir
-
shouldGetUpFromCrawl
public boolean shouldGetUpFromCrawl() -
shouldBeMoving
public boolean shouldBeMoving() -
hasStartedMoving
public boolean hasStartedMoving() -
allowTurnAnimation
public boolean allowTurnAnimation() -
isTurningToObstacle
public boolean isTurningToObstacle() -
isStrafing
public boolean isStrafing() -
closestPointOnPath
public static void closestPointOnPath(float arg0, float arg1, float arg2, IsoMovingObject arg3, Path arg4, PathFindBehavior2.PointOnPath arg5) -
render
public void render() -
Succeeded
- Specified by:
Succeededin interfaceIPathfinder
-
Failed
- Specified by:
Failedin interfaceIPathfinder
-
isMovingUsingPathFind
public boolean isMovingUsingPathFind()
-