Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD