zombie.behaviors.survivor
Class ObeyOrders

java.lang.Object
  extended by zombie.behaviors.Behavior
      extended by zombie.behaviors.survivor.ObeyOrders

public class ObeyOrders
extends Behavior

Author:
LEMMYLAP

Nested Class Summary
 
Nested classes/interfaces inherited from class zombie.behaviors.Behavior
Behavior.BehaviorResult
 
Field Summary
 boolean Started
           
 
Fields inherited from class zombie.behaviors.Behavior
last
 
Constructor Summary
ObeyOrders(IsoGameCharacter chr)
           
 
Method Summary
 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Started

public boolean Started
Constructor Detail

ObeyOrders

public ObeyOrders(IsoGameCharacter chr)
Method Detail

process

public Behavior.BehaviorResult process(DecisionPath path,
                                       IsoGameCharacter character)
Specified by:
process in class Behavior

update

public void update()
Overrides:
update in class Behavior

reset

public void reset()
Specified by:
reset in class Behavior

getPathSpeed

public float getPathSpeed()
Overrides:
getPathSpeed in class Behavior

valid

public boolean valid()
Specified by:
valid in class Behavior

renderDebug

public int renderDebug(int y)
Overrides:
renderDebug in class Behavior