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 booleanStartedFields inherited from class zombie.behaviors.Behavior
childNodes, last -
Constructor Summary
Constructors Constructor Description ObeyOrders(IsoGameCharacter chr) -
Method Summary
Modifier and Type Method Description floatgetPathSpeed()Behavior.BehaviorResultprocess(DecisionPath path, IsoGameCharacter character)intrenderDebug(int y)voidreset()voidupdate()booleanvalid()Methods inherited from class zombie.behaviors.Behavior
addChild, onSwitch, processChildMethods 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:
getPathSpeedin classBehavior
-
valid
public boolean valid() -
renderDebug
public int renderDebug(int y)- Overrides:
renderDebugin classBehavior
-