/*
 * BlueScreenNode is a PictNode that composes the
 * picture using the bluescreen() method in Picture
 **/
public class BlueScreenNode extends PictNode {
  
  /*
   * Construct does nothing fancy
   **/
  public BlueScreenNode(Picture p){
    super(p); // Call superclass constructor
  }
  
  /*
   * Use the given turtle to draw oneself
   * @param pen the Turtle to draw with
   **/
  public void drawWith(Turtle pen){
    Picture bg = pen.getPicture();
    bg.bluescreen(myPict,pen.getXPos(),pen.getYPos());
  }
}
