zombie.behaviors.survivor.orders
Class FollowOrder
java.lang.Object
zombie.behaviors.survivor.orders.Order
zombie.behaviors.survivor.orders.FollowOrder
public class FollowOrder
- extends Order
- Author:
- LEMMYLAP
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Range
public int Range
pathfindtimer
public int pathfindtimer
target
public IsoGameCharacter target
bStrict
public boolean bStrict
lastDist
public float lastDist
currentDist
public float currentDist
FollowOrder
public FollowOrder(IsoGameCharacter chr,
IsoGameCharacter target,
int range)
FollowOrder
public FollowOrder(IsoGameCharacter chr)
FollowOrder
public FollowOrder(IsoGameCharacter chr,
IsoGameCharacter target,
int range,
boolean b)
process
public Behavior.BehaviorResult process()
- Specified by:
process in class Order
isCancelledOnAttack
public boolean isCancelledOnAttack()
- Overrides:
isCancelledOnAttack in class Order
getPriority
public float getPriority(IsoGameCharacter character)
- Overrides:
getPriority in class Order
getPathSpeed
public float getPathSpeed()
- Overrides:
getPathSpeed in class Order
renderDebug
public int renderDebug(int y)
- Overrides:
renderDebug in class Order
complete
public boolean complete()
- Specified by:
complete in class Order
update
public void update()
- Specified by:
update in class Order