public interface Thing
Modifier and Type | Method and Description |
---|---|
void |
action()
Every Thing must implement some fundamental action.
|
void |
displayOn(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.
|
int getX()
int getY()
void action()
void displayOn(GWindow g)
boolean isAlive()