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 boolean
stayInside
int
thinkTime
int
thinkTimeMax
Fields inherited from class zombie.behaviors.Behavior
childNodes, last
-
Constructor Summary
Constructors Constructor Description FollowBehaviour()
-
Method Summary
Modifier and Type Method Description Behavior.BehaviorResult
process(DecisionPath decisionPath, IsoGameCharacter gameCharacter)
void
reset()
boolean
valid()
Methods inherited from class zombie.behaviors.Behavior
addChild, getPathSpeed, onSwitch, processChild, renderDebug, update
Methods 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