modelling
Class EatingAgent.EatElement

java.lang.Object
  extended bysema.Agent.Action
      extended bymodelling.EatingAgent.EatElement
Enclosing class:
EatingAgent

protected class EatingAgent.EatElement
extends Agent.Action

Action of eating a given element.


Field Summary
protected  Element goal
          Eated element.
 
Constructor Summary
EatingAgent.EatElement(Element goal)
           
 
Method Summary
protected  float step()
          One step of the eating.
 
Methods inherited from class sema.Agent.Action
close, firstStep, hasBegun, isDisabled, isPaused, pause, pause, resume, resumedStep, start, start, stop, whenEnd, whenPaused, whenRefused, whenStartInPause, whenStopped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

goal

protected Element goal
Eated element.

Constructor Detail

EatingAgent.EatElement

public EatingAgent.EatElement(Element goal)
Method Detail

step

protected float step()
One step of the eating. Controls if it is still possible, and eat.

Overrides:
step in class Agent.Action