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 booleanbWaitForThembooleanHasRangeRequirementIsoGameCharacterRangeTestbooleanstayInsideintTestRangeMaxintthinkTimeintthinkTimeMaxFields inherited from class zombie.behaviors.Behavior
childNodes, last -
Constructor Summary
Constructors Constructor Description AttackBehavior() -
Method Summary
Modifier and Type Method Description Behavior.BehaviorResultprocess(DecisionPath path, IsoGameCharacter character)intrenderDebug(int y)voidreset()booleanvalid()Methods inherited from class zombie.behaviors.Behavior
addChild, getPathSpeed, onSwitch, processChild, updateMethods 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