@Override
    public void drawOverlay(Graphics G, int viewX, int viewY) {
        G.setColor(Color.black);
        G.drawRect(64, 64, 900-128, 4);
        G.setColor(Color.red);
        G.fillRect(64, 64, (int)((900f)*(HP/5000f))-128, 4);
        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)-100, null);
        }
     //   System.out.println("HI!");
    }