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 booleanbStrictfloatcurrentDistfloatlastDistintpathfindtimerintRangeIsoGameCharactertarget -
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 booleancomplete()floatgetPathSpeed()floatgetPriority(IsoGameCharacter gameCharacter)booleanisCancelledOnAttack()Behavior.BehaviorResultprocess()intrenderDebug(int int1)voidupdate()Methods inherited from class zombie.behaviors.survivor.orders.Order
ActedThisFrame, getAttackIfEnemiesAroundBias, initOrder, isCritical, processNext, updatenextMethods 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:
isCancelledOnAttackin classOrder
-
getPriority
- Overrides:
getPriorityin classOrder
-
getPathSpeed
public float getPathSpeed()- Overrides:
getPathSpeedin classOrder
-
renderDebug
public int renderDebug(int int1)- Overrides:
renderDebugin classOrder
-
complete
public boolean complete() -
update
public void update()
-