@Override
    public void onDraw(Graphics G, int viewX, int viewY) {
        if (X>viewX&&X<viewX+300&&Y>viewY&&Y<viewY+300)
        {
            Graphics2D g2d = (Graphics2D)G;
            G.setColor(Color.white);
            G.fillArc((int)X-viewX-1,(int)Y-viewY-1,2,2,0,360);
        }
    }