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
- Author:
- LEMMYLAP
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
failedcount
public int failedcount
Waypoints
public java.util.Stack<GotoOrder.Waypoint> Waypoints
currentwaypoint
public int currentwaypoint
chr
public IsoGameCharacter chr
GotoOrder
public GotoOrder(IsoGameCharacter chr,
int x,
int y,
int z)
GotoOrder
public GotoOrder(IsoGameCharacter chr)
getAttackIfEnemiesAroundBias
public int getAttackIfEnemiesAroundBias()
- Overrides:
getAttackIfEnemiesAroundBias in class Order
init
public void init(int x,
int y,
int z)
complete
public boolean complete()
- Specified by:
complete in class Order
update
public void update()
- Specified by:
update in class Order
process
public Behavior.BehaviorResult process()
- Specified by:
process in class Order
renderDebug
public int renderDebug(int y)
- Overrides:
renderDebug in class Order
getPriority
public float getPriority(IsoGameCharacter character)
- Overrides:
getPriority in class Order