wyvern.lib.ai.behaviors
Class FleeBE

java.lang.Object
  extended bywyvern.lib.ai.behaviors.BehaviorElement
      extended bywyvern.lib.ai.behaviors.FleeBE

public class FleeBE
extends BehaviorElement


Method Summary
 boolean flee(Commandable monster, int dir)
           
 boolean getAction(Commandable monster, Behavior behavior)
           
static BehaviorElement getImpl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getImpl

public static BehaviorElement getImpl()

getAction

public boolean getAction(Commandable monster,
                         Behavior behavior)
Overrides:
getAction in class BehaviorElement

flee

public boolean flee(Commandable monster,
                    int dir)