|
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The basic interface for an object in the simulation world.
Method Summary | |
void |
action()
Every Thing must implement some fundamental action. |
void |
displayOn(uwcse.graphics.GWindow g)
Every Thing must be able to display itself on a GWindow. |
int |
getX()
Every Thing must have an x and y position. |
int |
getY()
Every Thing must have an x and y position. |
boolean |
isAlive()
Every thing has a lifetime. |
Method Detail |
public void action()
public void displayOn(uwcse.graphics.GWindow g)
public int getX()
public int getY()
public boolean isAlive()
|
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |