|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEnvironment
Interface for the hunter-prey environment. Defines all operations that a hunter or prey may perform.
Method Summary | |
---|---|
boolean |
eat(Creature me,
WorldObject food)
Eat some object. |
Vision |
getVision(Creature me)
Get the current vision. |
boolean |
moveDown(Creature me)
Move one field downwards. |
boolean |
moveLeft(Creature me)
Move one field to the left. |
boolean |
moveRight(Creature me)
Move one field to the right. |
boolean |
moveUp(Creature me)
Move one field upwards. |
Method Detail |
---|
boolean moveUp(Creature me)
boolean moveDown(Creature me)
boolean moveLeft(Creature me)
boolean moveRight(Creature me)
boolean eat(Creature me, WorldObject food)
food
- The object.
Vision getVision(Creature me)
|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.