zombie.behaviors.survivor
Class AttackBehavior

java.lang.Object
  extended by zombie.behaviors.Behavior
      extended by zombie.behaviors.survivor.AttackBehavior

public class AttackBehavior
extends Behavior

Author:
LEMMY

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

Field Detail

HasRangeRequirement

public boolean HasRangeRequirement

RangeTest

public IsoGameCharacter RangeTest

TestRangeMax

public int TestRangeMax

thinkTime

public int thinkTime

thinkTimeMax

public int thinkTimeMax

stayInside

public boolean stayInside

bWaitForThem

public boolean bWaitForThem
Constructor Detail

AttackBehavior

public AttackBehavior()
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

renderDebug

public int renderDebug(int y)
Overrides:
renderDebug in class Behavior