import java.util.Enumeration;


/**
 * A Drafter that draws in response to Point "events"  generated by
 * one or more PointSubject objects
 *
 * @author  Prof. David Bernstein, James Madison University
 * @version 1.0
 */
public class EtcherSketcher extends Drafter implements PointObserver
{
    
    /**
     * Default Constructor
     */
    public EtcherSketcher()
    {
       super();

       setPaperColor("black");
    }
    
    
    /**
     * Descendants of the Drafter class must implement the
     * draw() method.  In this case, all drawing is done in response to
     * Point "events" so this method is empty
     *
     * @param upperRight  The coordinates of the upper right-hand corner
     */
    public void draw(Point screenMax)
    {
    }
    


    /**
     * Handle a Point "event"
     * (required by PointObserver)
     *
     * @param subject  The PointSubject that generated the Point
     * @param p        The Point of interest
     */
    public void handlePoint(PointSubject subject, Point r)
    {
       overlayPoint(r, "cyan");
    }
    

    
}
