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 SummaryFields Modifier and Type Field Description booleanbStrictfloatcurrentDistfloatlastDistintpathfindtimerintRangeIsoGameCharactertarget
- 
Constructor SummaryConstructors Constructor Description FollowOrder(IsoGameCharacter chr)FollowOrder(IsoGameCharacter chr, IsoGameCharacter target, int range)FollowOrder(IsoGameCharacter chr, IsoGameCharacter target, int range, boolean b)
- 
Method SummaryModifier and Type Method Description booleancomplete()floatgetPathSpeed()floatgetPriority(IsoGameCharacter character)booleanisCancelledOnAttack()Behavior.BehaviorResultprocess()intrenderDebug(int y)voidupdate()Methods inherited from class zombie.behaviors.survivor.orders.OrderActedThisFrame, getAttackIfEnemiesAroundBias, initOrder, isCritical, processNext, updatenextMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Field Details- 
Rangepublic int Range
- 
pathfindtimerpublic int pathfindtimer
- 
target
- 
bStrictpublic boolean bStrict
- 
lastDistpublic float lastDist
- 
currentDistpublic float currentDist
 
- 
- 
Constructor Details- 
FollowOrder
- 
FollowOrder
- 
FollowOrder
 
- 
- 
Method Details- 
process
- 
isCancelledOnAttackpublic boolean isCancelledOnAttack()- Overrides:
- isCancelledOnAttackin class- Order
 
- 
getPriority- Overrides:
- getPriorityin class- Order
 
- 
getPathSpeedpublic float getPathSpeed()- Overrides:
- getPathSpeedin class- Order
 
- 
renderDebugpublic int renderDebug(int y)- Overrides:
- renderDebugin class- Order
 
- 
completepublic boolean complete()
- 
updatepublic void update()
 
-