zombie.behaviors.survivor
Class FleeBehaviour

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

public class FleeBehaviour
extends Behavior

Author:
LEMMYLAP

Nested Class Summary
 
Nested classes/interfaces inherited from class zombie.behaviors.Behavior
Behavior.BehaviorResult
 
Field Summary
 boolean bFollowFlee
           
 boolean bPickedFleeStyle
           
 boolean Started
           
 
Fields inherited from class zombie.behaviors.Behavior
last
 
Constructor Summary
FleeBehaviour()
           
 
Method Summary
 float getPathSpeed()
           
 float getPriority(IsoGameCharacter character)
           
 void onSwitch()
           
 Behavior.BehaviorResult process(DecisionPath path, IsoGameCharacter character)
           
 int renderDebug(int y)
           
 void reset()
           
 boolean valid()
           
 
Methods inherited from class zombie.behaviors.Behavior
addChild, processChild, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Started

public boolean Started

bFollowFlee

public boolean bFollowFlee

bPickedFleeStyle

public boolean bPickedFleeStyle
Constructor Detail

FleeBehaviour

public FleeBehaviour()
Method Detail

onSwitch

public void onSwitch()
Overrides:
onSwitch in class Behavior

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

getPriority

public float getPriority(IsoGameCharacter character)

getPathSpeed

public float getPathSpeed()
Overrides:
getPathSpeed in class Behavior

renderDebug

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