@Override
	public void draw(Graphics2D g) {
		bg.draw(g);
		p.draw(g);
		op.draw(g);

		Rectangle rect = p.getRectangle();
		g.draw(rect);

		Rectangle rect2 = new Rectangle(p.getx() - (p.getWidth() / 2), p.gety()
				- (p.getHeight() / 2), p.getWidth(), p.getHeight());
		g.draw(rect2);

		// health1
		g.drawImage(Images.hud.getSubimage(0, 50, Math.max(p.health, 1), 50),
				0, 0, Math.max(p.health, 1), 50, null);

		// health2
		g.drawImage(Images.hud.getSubimage(0, 50, Math.max(op.health, 1), 50),
				320, 0, Math.min(-op.health, 1), 50, null);
		// health bar contour
		g.drawImage(Images.hud.getSubimage(0, 0, 320, 50), 0, 0, 320, 50, null);
		// shield
		g.drawImage(Images.hud.getSubimage(50, 100, 50, 50), (320 / 2) - 25, 0,
				50, 50, null);

		int xc = 70;
		int yx = 95;

		g.setFont(maximilien);
		g.setColor(Color.BLACK);
		g.drawString(endResult, xc + 2, yx + 2);
		g.setColor(Color.ORANGE);
		g.drawString(endResult, xc, yx);

		g.setColor(Color.BLACK);
		g.setFont(new Font("Maximilien", Font.PLAIN, 15));

		g.drawString(getDiff() == 0 ? "Easy" : getDiff() == 1 ? "Normal"
				: "Hard", 143, 28);

	}