wyvern.lib.ai.behaviors
Class GrabStuffBE

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

public class GrabStuffBE
extends BehaviorElement


Method Summary
 boolean getAction(Commandable monster, Behavior behavior)
           
static BehaviorElement getImpl()
           
 boolean lookForObjects(Commandable monster, GameMap map)
          Looks for nice things to pick up.
 
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

lookForObjects

public boolean lookForObjects(Commandable monster,
                              GameMap map)
Looks for nice things to pick up. This code was taken verbatim from StandardAI.java.

Parameters:
monster - the monster that's looking
map - the monster's map