zombie.behaviors.survivor
Class FindKnownItemBehavior

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

public class FindKnownItemBehavior
extends Behavior

Author:
LEMMY

Nested Class Summary
 
Nested classes/interfaces inherited from class zombie.behaviors.Behavior
Behavior.BehaviorResult
 
Field Summary
 ItemType FindItem
           
 boolean Found
           
 boolean LocationIsInventory
           
 
Fields inherited from class zombie.behaviors.Behavior
last
 
Constructor Summary
FindKnownItemBehavior()
           
 
Method Summary
 Behavior.BehaviorResult process(DecisionPath path, IsoGameCharacter character)
           
 void reset()
           
 boolean valid()
           
 
Methods inherited from class zombie.behaviors.Behavior
addChild, getPathSpeed, onSwitch, processChild, renderDebug, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FindItem

public ItemType FindItem

Found

public boolean Found

LocationIsInventory

public boolean LocationIsInventory
Constructor Detail

FindKnownItemBehavior

public FindKnownItemBehavior()
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