@@ -0,0 +1,1709 @@
+package graphics;%0A%0Aimport java.awt.geom.Ellipse2D;%0Aimport java.awt.geom.Point2D;%0A%0Apublic class Circle %7B%0A%0A    private Point2D position;%0A%0A    private double radius;%0A    private double diameter;%0A%0A    public Circle(double x, double y, double radius) %7B%0A        position = new Point2D.Double(x, y);%0A        this.radius = radius;%0A        this.diameter = radius * 2;%0A    %7D%0A%0A    public Circle(Point2D position, double radius) %7B%0A        this.position = position;%0A        this.radius = radius;%0A        this.diameter = radius * 2;%0A    %7D%0A%0A    public Point2D getPosition() %7B%0A        return position;%0A    %7D%0A%0A    public double getX() %7B%0A        return getPosition().getX();%0A    %7D%0A%0A    public double getY() %7B%0A        return getPosition().getY();%0A    %7D%0A%0A    public Point2D getCenter() %7B%0A        return new Point2D.Double(getCenterX(), getCenterY());%0A    %7D%0A%0A    public double getCenterX() %7B%0A        return getX() + radius;%0A    %7D%0A%0A    public double getCenterY() %7B%0A        return getY() + radius;%0A    %7D%0A%0A    public double getRadius() %7B%0A        return radius;%0A    %7D%0A%0A    public void setRadius(int radius) %7B%0A        this.radius = radius;%0A    %7D%0A%0A    public double getDiameter() %7B%0A        return diameter;%0A    %7D%0A%0A    public void setDiameter(double diameter) %7B%0A        this.diameter = diameter;%0A    %7D%0A%0A    public boolean intersects(Circle circle) %7B%0A        double dx = getCenter().getX() - circle.getCenter().getX();%0A        double dy = getCenter().getY() - circle.getCenter().getY();%0A%0A        double distance = Math.sqrt(dx * dx + dy * dy);%0A%0A        return distance %3C= getRadius() + circle.getRadius();%0A    %7D%0A%0A    public Ellipse2D getShape() %7B%0A        return new Ellipse2D.Double(getX(), getY(), getDiameter(), getDiameter());%0A    %7D%0A%7D%0A

add forgotten circle class.