@Override
    public void onDraw(Graphics G, int viewX, int viewY) {
        if (X>viewX&&X<viewX+300&&Y>viewY&&Y<viewY+300)
        {
            G.setColor(Color.blue);
            G.fillArc((int)(X-radius/2)-viewX, (int)(Y-radius/2)-viewY, radius, radius, 0, 360);
            
            G.setColor(Color.cyan);
            G.fillArc((int)(X-2)-viewX, (int)(Y-2)-viewY, 4, 4, s1, a1);
            G.fillArc((int)(X-4)-viewX, (int)(Y-4)-viewY, 8, 8, s2, a2);
            G.fillArc((int)(X-6)-viewX, (int)(Y-6)-viewY, 12, 12, s3, a3);
        }
    }