package yourwork;

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


/**
 * NAME: YOUR NAME HERE
 * COURSE: CompSci 6
 * DATE: April 15, 2010
 * PURPOSE:
 *   Represents an archery target.
 */
public class Target extends Mover
{
    private int myNumRings;


    /**
     * Construct a picture at the given position, with the given size, and color.
     */
    public Target (int numRings, Point center, Dimension size)
    {
        super(center, size, new Point(0, 0), Color.BLACK);
        myNumRings = numRings;
    }


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


    /**
     * Render target in the given graphics context.
     */
    public void recurseDraw (Graphics pen, int numLeft)
    {
        if (numLeft > 0)  // general case
        {
            // TODO: draw a circle
            // TODO: draw the rest
        }

        // base case -- do nothing
    }
}
