|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Entity
Everything in the world should implement this interface.
Method Summary | |
---|---|
Event |
makeTurn(BeingInterface bi)
Make this entity's turn, returned value is an event describing action this being is planning to perform, see EventKind for possible event types. |
void |
processEvent(BeingInterface bi,
Event e)
Handle an event, we pass BeingInterface, as it supersedes EntityInterface |
Method Detail |
---|
void processEvent(BeingInterface bi, Event e)
Event makeTurn(BeingInterface bi)
EventKind
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |