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 float7, float float6, float float1, IsoMovingObject isoMovingObject, Path pathx, PathFindBehavior2.PointOnPath pointOnPathx) void
boolean
float
float
float
float
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isTargetLocation
(float float2, float float1, float float0) boolean
void
moveToDir
(IsoMovingObject isoMovingObject, float float1) void
moveToPoint
(float float1, float float0, float float3) void
pathToCharacter
(IsoGameCharacter isoGameCharacter) void
pathToLocation
(int int2, int int1, int int0) void
pathToLocationF
(float float0, float float1, float float2) void
pathToNearest
(gnu.trove.list.array.TFloatArrayList tFloatArrayList) void
pathToNearestTable
(se.krka.kahlua.vm.KahluaTable kahluaTable) void
pathToSitOnFurniture
(IsoObject isoObject, boolean boolean0) void
pathToSound
(int int2, int int1, int int0) void
pathToVehicleAdjacent
(BaseVehicle baseVehicle) void
pathToVehicleArea
(BaseVehicle baseVehicle, String string) void
pathToVehicleSeat
(BaseVehicle baseVehicle, int int0) void
render()
void
reset()
void
setData
(float float0, float float1, float float2) boolean
boolean
boolean
shouldIgnoreCollisionWithSquare
(IsoGridSquare isoGridSquare) 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 int2, int int1, int int0) -
pathToLocationF
public void pathToLocationF(float float0, float float1, float float2) -
pathToSound
public void pathToSound(int int2, int int1, int int0) -
pathToNearest
public void pathToNearest(gnu.trove.list.array.TFloatArrayList tFloatArrayList) -
pathToNearestTable
public void pathToNearestTable(se.krka.kahlua.vm.KahluaTable kahluaTable) -
pathToSitOnFurniture
-
shouldIgnoreCollisionWithSquare
-
pathToVehicleAdjacent
-
pathToVehicleArea
-
pathToVehicleSeat
-
cancel
public void cancel() -
getIsCancelled
public boolean getIsCancelled() -
setData
public void setData(float float0, float float1, float float2) -
getTargetX
public float getTargetX() -
getTargetY
public float getTargetY() -
getTargetZ
public float getTargetZ() -
getPathLength
public float getPathLength() -
getTargetChar
-
isTargetLocation
public boolean isTargetLocation(float float2, float float1, float float0) -
update
-
moveToPoint
public void moveToPoint(float float1, float float0, float float3) -
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 float7, float float6, float float1, IsoMovingObject isoMovingObject, Path pathx, PathFindBehavior2.PointOnPath pointOnPathx) -
render
public void render() -
Succeeded
- Specified by:
Succeeded
in interfaceIPathfinder
-
Failed
- Specified by:
Failed
in interfaceIPathfinder
-
isMovingUsingPathFind
public boolean isMovingUsingPathFind()
-