|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSceneElement
SceneElementLayered
Field Summary |
Fields inherited from class SceneElement |
myPic, next |
Constructor Summary | |
SceneElementLayered(Picture heldPic,
int xpos,
int ypos)
Make a new element with a picture as input, and next as null, to be drawn at given x,y |
Method Summary | |
void |
drawWith(Turtle pen)
Method to draw from this picture. |
Methods inherited from class SceneElement |
add, drawFromMeOn, getNext, getPicture, insertAfter, last, remove, reverse, setNext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SceneElementLayered(Picture heldPic, int xpos, int ypos)
heldPic
- Picture for element to holdxpos
- x position desired for elementypos
- y position desired for elementMethod Detail |
public void drawWith(Turtle pen)
drawWith
in class SceneElement
pen
- Turtle to draw with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |