Package zombie.behaviors.survivor.orders
Class GotoNextTo
java.lang.Object
zombie.behaviors.survivor.orders.Order
zombie.behaviors.survivor.orders.GotoNextTo
public class GotoNextTo extends Order
-
Field Summary
-
Constructor Summary
Constructors Constructor Description GotoNextTo(IsoGameCharacter chr, int x, int y, int z) -
Method Summary
Modifier and Type Method Description booleancomplete()intgetAttackIfEnemiesAroundBias()floatgetPriority(IsoGameCharacter character)voidinitOrder()Behavior.BehaviorResultprocess()intrenderDebug(int y)voidupdate()Methods inherited from class zombie.behaviors.survivor.orders.Order
ActedThisFrame, getPathSpeed, isCancelledOnAttack, isCritical, processNext, updatenextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GotoNextTo
-
-
Method Details
-
getAttackIfEnemiesAroundBias
public int getAttackIfEnemiesAroundBias()- Overrides:
getAttackIfEnemiesAroundBiasin classOrder
-
update
public void update() -
complete
public boolean complete() -
process
-
renderDebug
public int renderDebug(int y)- Overrides:
renderDebugin classOrder
-
initOrder
public void initOrder() -
getPriority
- Overrides:
getPriorityin classOrder
-