modelling
Interface Eatable

All Known Implementing Classes:
EatableAgent

public interface Eatable

Manage the capacity of an agent to be eaten.


Method Summary
 boolean canEat(Element el)
          Determinates if the agent may eat it by the given element.
 float eaten(Agent ag)
           
 float getNutritiveReserves()
          Returns the quantity of food remaining.
 

Method Detail

canEat

public boolean canEat(Element el)
Determinates if the agent may eat it by the given element.


eaten

public float eaten(Agent ag)

getNutritiveReserves

public float getNutritiveReserves()
Returns the quantity of food remaining.