zombie.behaviors.general
Class FollowBehaviour

java.lang.Object
  extended by zombie.behaviors.Behavior
      extended by zombie.behaviors.general.FollowBehaviour

public class FollowBehaviour
extends Behavior

Author:
LEMMYLAP

Nested Class Summary
 
Nested classes/interfaces inherited from class zombie.behaviors.Behavior
Behavior.BehaviorResult
 
Field Summary
 boolean stayInside
           
 int thinkTime
           
 int thinkTimeMax
           
 
Fields inherited from class zombie.behaviors.Behavior
last
 
Constructor Summary
FollowBehaviour()
           
 
Method Summary
 Behavior.BehaviorResult process(DecisionPath path, IsoGameCharacter character)
           
 void reset()
           
 boolean valid()
           
 
Methods inherited from class zombie.behaviors.Behavior
addChild, getPathSpeed, onSwitch, processChild, renderDebug, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thinkTime

public int thinkTime

thinkTimeMax

public int thinkTimeMax

stayInside

public boolean stayInside
Constructor Detail

FollowBehaviour

public FollowBehaviour()
Method Detail

process

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

reset

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

valid

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