Class PathFindBehavior2
java.lang.Object
zombie.pathfind.PathFindBehavior2
- All Implemented Interfaces:
IPathfinder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
class
static final class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
cancel()
static void
closestPointOnPath
(float arg0, float arg1, float arg2, IsoMovingObject arg3, Path arg4, PathFindBehavior2.PointOnPath arg5) void
boolean
float
float
float
float
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isTargetLocation
(float arg0, float arg1, float arg2) boolean
void
moveToDir
(IsoMovingObject arg0, float arg1) void
moveToPoint
(float arg0, float arg1, float arg2) void
void
pathToLocation
(int arg0, int arg1, int arg2) void
pathToLocationF
(float arg0, float arg1, float arg2) void
pathToNearest
(gnu.trove.list.array.TFloatArrayList arg0) void
void
pathToSitOnFurniture
(IsoObject arg0, boolean arg1) void
pathToSound
(int arg0, int arg1, int arg2) void
void
pathToVehicleArea
(BaseVehicle arg0, String arg1) void
pathToVehicleSeat
(BaseVehicle arg0, int arg1) void
render()
void
reset()
void
setData
(float arg0, float arg1, float arg2) boolean
boolean
boolean
void
update()
-
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:
Succeeded
in interfaceIPathfinder
-
Failed
- Specified by:
Failed
in interfaceIPathfinder
-
isMovingUsingPathFind
public boolean isMovingUsingPathFind()
-