Package zombie.behaviors.survivor.orders
Class FollowOrder
java.lang.Object
zombie.behaviors.survivor.orders.Order
zombie.behaviors.survivor.orders.FollowOrder
public class FollowOrder extends Order
-
Field Summary
Fields Modifier and Type Field Description boolean
bStrict
float
currentDist
float
lastDist
int
pathfindtimer
int
Range
IsoGameCharacter
target
-
Constructor Summary
Constructors Constructor Description FollowOrder(IsoGameCharacter gameCharacter)
FollowOrder(IsoGameCharacter gameCharacter, IsoGameCharacter gameCharacter2, int int1)
FollowOrder(IsoGameCharacter gameCharacter, IsoGameCharacter gameCharacter2, int int1, boolean boolean1)
-
Method Summary
Modifier and Type Method Description boolean
complete()
float
getPathSpeed()
float
getPriority(IsoGameCharacter gameCharacter)
boolean
isCancelledOnAttack()
Behavior.BehaviorResult
process()
int
renderDebug(int int1)
void
update()
Methods inherited from class zombie.behaviors.survivor.orders.Order
ActedThisFrame, getAttackIfEnemiesAroundBias, initOrder, isCritical, processNext, updatenext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
Range
public int Range -
pathfindtimer
public int pathfindtimer -
target
-
bStrict
public boolean bStrict -
lastDist
public float lastDist -
currentDist
public float currentDist
-
-
Constructor Details
-
FollowOrder
-
FollowOrder
-
FollowOrder
public FollowOrder(IsoGameCharacter gameCharacter, IsoGameCharacter gameCharacter2, int int1, boolean boolean1)
-
-
Method Details
-
process
-
isCancelledOnAttack
public boolean isCancelledOnAttack()- Overrides:
isCancelledOnAttack
in classOrder
-
getPriority
- Overrides:
getPriority
in classOrder
-
getPathSpeed
public float getPathSpeed()- Overrides:
getPathSpeed
in classOrder
-
renderDebug
public int renderDebug(int int1)- Overrides:
renderDebug
in classOrder
-
complete
public boolean complete() -
update
public void update()
-