Class SceneElementPositioned
java.lang.Object
SceneElement
SceneElementPositioned
- public class SceneElementPositioned
- extends SceneElement
Method Summary |
void |
drawWith(Turtle pen)
Method to draw from this picture. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SceneElementPositioned
public SceneElementPositioned(Picture heldPic)
- Make a new element with a picture as input, and
next as null.
- Parameters:
heldPic
- Picture for element to hold
drawWith
public void drawWith(Turtle pen)
- Method to draw from this picture.
- Specified by:
drawWith
in class SceneElement
- Parameters:
pen
- Turtle to use for drawing