Class SceneElementPositioned

java.lang.Object
  extended bySceneElement
      extended bySceneElementPositioned

public class SceneElementPositioned
extends SceneElement


Field Summary
 
Fields inherited from class SceneElement
myPic, next
 
Constructor Summary
SceneElementPositioned(Picture heldPic)
          Make a new element with a picture as input, and next as null.
 
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

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
Method Detail

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