zombie.behaviors.survivor
Class MasterSurvivorBehavior

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

public class MasterSurvivorBehavior
extends Behavior

Author:
LEMMYLAP

Nested Class Summary
 
Nested classes/interfaces inherited from class zombie.behaviors.Behavior
Behavior.BehaviorResult
 
Field Summary
static float AttackMultiplier
           
static float FleeMultiplier
           
 Behavior toProcess
           
 
Fields inherited from class zombie.behaviors.Behavior
last
 
Constructor Summary
MasterSurvivorBehavior(IsoSurvivor survivor)
           
 
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

toProcess

public Behavior toProcess

FleeMultiplier

public static float FleeMultiplier

AttackMultiplier

public static float AttackMultiplier
Constructor Detail

MasterSurvivorBehavior

public MasterSurvivorBehavior(IsoSurvivor survivor)
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