public void draw(Graphics g, int x, int y, int width, int height) { g.drawImage(player.getImage(), x, y, width, height); }
public void draw(Graphics g) { g.drawImage(player.getImage(), x, y, this.width, this.height); }