Package zombie.behaviors.survivor
Class ObeyOrders
java.lang.Object
zombie.behaviors.Behavior
zombie.behaviors.survivor.ObeyOrders
public class ObeyOrders extends Behavior
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.behaviors.Behavior
Behavior.BehaviorResult
-
Field Summary
Fields Modifier and Type Field Description boolean
Started
Fields inherited from class zombie.behaviors.Behavior
childNodes, last
-
Constructor Summary
Constructors Constructor Description ObeyOrders(IsoGameCharacter chr)
-
Method Summary
Modifier and Type Method Description float
getPathSpeed()
Behavior.BehaviorResult
process(DecisionPath path, IsoGameCharacter character)
int
renderDebug(int y)
void
reset()
void
update()
boolean
valid()
Methods inherited from class zombie.behaviors.Behavior
addChild, onSwitch, processChild
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
Started
public boolean Started
-
-
Constructor Details
-
ObeyOrders
-
-
Method Details
-
process
-
update
public void update() -
reset
public void reset() -
getPathSpeed
public float getPathSpeed()- Overrides:
getPathSpeed
in classBehavior
-
valid
public boolean valid() -
renderDebug
public int renderDebug(int y)- Overrides:
renderDebug
in classBehavior
-