wyvern.lib.ai.behaviors
Class WieldWeaponsBE

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

public class WieldWeaponsBE
extends BehaviorElement


Method Summary
 boolean canWieldSomething(Commandable agent)
          Returns true if the monster wants to wield a weapon.
 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

canWieldSomething

public boolean canWieldSomething(Commandable agent)
Returns true if the monster wants to wield a weapon.

Parameters:
agent - the monster