public void draw(Graphics g, int scale, Component frame) {
        g.drawImage(img.getImage(), x, y, width * scale, height * scale, frame);
        if (shooting && bullet.isVisible()) {
            bullet.draw(g, frame);
        }
        g.setColor(Color.white);
        g.setFont(new Font("Munro Small", Font.PLAIN, 16));
        g.drawString(username, x, y - 10);
    }