package yourwork;

import java.awt.*;
import ignorethis.Mover;


/**
 * NAME: YOUR NAME HERE
 * COURSE: CompSci 6
 * DATE: November 19, 2009
 * PURPOSE:
 *   Represents a picture of circles within circles.
 */
public class Circles extends Mover
{
    /**
     * Construct a picture at the given position, with the given size, and color.
     */
    public Circles (Point center, Dimension size)
    {
        super(center, size, new Point(0, 0), Color.MAGENTA);
    }


    /**
     * Render picture in the given graphics context.
     */
    public void paint (Graphics pen)
    {
        recurseDraw(pen);
    }

    
    /**
     * Recursively draw the picture.
     * 
     * YOU MAY WANT ADD ADDITIONAL PARAMETERS TO THIS METHOD.
     */
    public void recurseDraw (Graphics pen)
    {
        pen.setColor(getColor());
        pen.fillOval(getLeft(), getTop(), getSize().width, getSize().height);

        // TODO: general case
        
        // TODO: base case
    }
}
