Package zombie.behaviors.general
Class FollowBehaviour
java.lang.Object
zombie.behaviors.Behavior
zombie.behaviors.general.FollowBehaviour
public class FollowBehaviour extends Behavior
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.behaviors.Behavior
Behavior.BehaviorResult -
Field Summary
Fields Modifier and Type Field Description booleanstayInsideintthinkTimeintthinkTimeMaxFields inherited from class zombie.behaviors.Behavior
childNodes, last -
Constructor Summary
Constructors Constructor Description FollowBehaviour() -
Method Summary
Modifier and Type Method Description Behavior.BehaviorResultprocess(DecisionPath path, IsoGameCharacter character)voidreset()booleanvalid()Methods inherited from class zombie.behaviors.Behavior
addChild, getPathSpeed, onSwitch, processChild, renderDebug, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
thinkTime
public int thinkTime -
thinkTimeMax
public int thinkTimeMax -
stayInside
public boolean stayInside
-
-
Constructor Details
-
FollowBehaviour
public FollowBehaviour()
-
-
Method Details