Package zombie.behaviors.survivor
Class AttackBehavior
java.lang.Object
zombie.behaviors.Behavior
zombie.behaviors.survivor.AttackBehavior
public class AttackBehavior 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
bWaitForThem
boolean
HasRangeRequirement
IsoGameCharacter
RangeTest
boolean
stayInside
int
TestRangeMax
int
thinkTime
int
thinkTimeMax
Fields inherited from class zombie.behaviors.Behavior
childNodes, last
-
Constructor Summary
Constructors Constructor Description AttackBehavior()
-
Method Summary
Modifier and Type Method Description Behavior.BehaviorResult
process(DecisionPath decisionPath, IsoGameCharacter gameCharacter)
int
renderDebug(int int1)
void
reset()
boolean
valid()
Methods inherited from class zombie.behaviors.Behavior
addChild, getPathSpeed, onSwitch, processChild, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
HasRangeRequirement
public boolean HasRangeRequirement -
RangeTest
-
TestRangeMax
public int TestRangeMax -
thinkTime
public int thinkTime -
thinkTimeMax
public int thinkTimeMax -
stayInside
public boolean stayInside -
bWaitForThem
public boolean bWaitForThem
-
-
Constructor Details
-
AttackBehavior
public AttackBehavior()
-
-
Method Details