Package zombie.behaviors.survivor.orders
Class GotoOrder
java.lang.Object
zombie.behaviors.survivor.orders.Order
zombie.behaviors.survivor.orders.GotoOrder
- Direct Known Subclasses:
GotoBuildingOrder,GotoRoomOrder,GotoSafehouseOrder
public class GotoOrder extends Order
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGotoOrder.Waypoint -
Field Summary
Fields Modifier and Type Field Description IsoGameCharacterchrintcurrentwaypointintfailedcountjava.util.StackWaypoints -
Constructor Summary
Constructors Constructor Description GotoOrder(IsoGameCharacter gameCharacter)GotoOrder(IsoGameCharacter gameCharacter, int int1, int int2, int int3) -
Method Summary
Modifier and Type Method Description booleancomplete()intgetAttackIfEnemiesAroundBias()floatgetPriority(IsoGameCharacter gameCharacter)voidinit(int int1, int int2, int int3)Behavior.BehaviorResultprocess()intrenderDebug(int int1)voidupdate()Methods inherited from class zombie.behaviors.survivor.orders.Order
ActedThisFrame, getPathSpeed, initOrder, isCancelledOnAttack, isCritical, processNext, updatenextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
failedcount
public int failedcount -
Waypoints
public java.util.Stack Waypoints -
currentwaypoint
public int currentwaypoint -
chr
-
-
Constructor Details
-
GotoOrder
-
GotoOrder
-
-
Method Details
-
getAttackIfEnemiesAroundBias
public int getAttackIfEnemiesAroundBias()- Overrides:
getAttackIfEnemiesAroundBiasin classOrder
-
init
public void init(int int1, int int2, int int3) -
complete
public boolean complete() -
update
public void update() -
process
-
renderDebug
public int renderDebug(int int1)- Overrides:
renderDebugin classOrder
-
getPriority
- Overrides:
getPriorityin classOrder
-