|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.ObjectGrassFace
| Constructor Summary | |
GrassFace(int w,
int h)
Initialize the variables needed for this CritterFace. |
|
| Method Summary | |
void |
addTo(uwcse.graphics.GWindow gw)
Add this pattern to a graphics window. |
void |
moveTo(int x,
int y)
Change this pattern's position. |
void |
removeFromWindow()
Remove this pattern from the window it is shown in. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GrassFace(int w,
int h)
w - width in pixels of the space availableh - height in pixels of the space available| Method Detail |
public void addTo(uwcse.graphics.GWindow gw)
CritterFace
addTo in interface CritterFacegw - the graphics window to add this image toCritterFace.addTo(uwcse.graphics.GWindow)public void removeFromWindow()
CritterFace
removeFromWindow in interface CritterFaceCritterFace.removeFromWindow()
public void moveTo(int x,
int y)
CritterFace
moveTo in interface CritterFacex - new X coordinatey - new Y coordinateCritterFace.moveTo(int, int)
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||