@Override
    public void drawOverlay(Graphics G, int viewX, int viewY) {
        
        if (X>viewX&&X<viewX+300&&Y>viewY&&Y<viewY+300)
        {
//            G.setColor(Color.RED);
//            G.fillArc(((int)X-30)-viewX, ((int)Y-30)-viewY, 60, 60, 0, 360);
//            G.setColor(Color.black);
//            G.drawArc(((int)X-30)-viewX, ((int)Y-30)-viewY, 60, 60, 0, (360*HP)/500);
            G.drawImage(sprite, (int)((drawX-viewX)*3f)-32, (int)((drawY-viewY)*3f)-32, null);
            G.setColor(Color.DARK_GRAY);
            G.drawString(name, (int)((X-(name.length())+3)-viewX)*3, (int)(Y-viewY-24)*3);
        }
     //   System.out.println("HI!");
    }