@Override
	public void render(GameContainer gc, Graphics g) throws SlickException {
		backgroundImage.draw(0, 0);

		if (lastLevel != null)
			lastLevel.render(gc, g);

		if (currentLevel != null)
			currentLevel.render(gc, g);

		if (nextLevel != null)
			nextLevel.render(gc, g);

		player.render(gc, g);

		if (title.isVisible())
			title.render(g);

		if (player.isDead()) {
			String info = DEATH_LINES[currentLine];
			int infoWidth = Title.textFont.getWidth(info);
			Title.textFont.drawString(Constants.GAME_WIDTH / 2 - infoWidth / 2,
					50, info, ColorDirector.getTextPrimary());

			String score = "Score: " + player.getAccX();
			int scoreWidth = Title.textFont.getWidth(score);
			Title.textFont.drawString(
					Constants.GAME_WIDTH / 2 - scoreWidth / 2,
					50 + Title.textFont.getLineHeight(), score);
		}

		volume.render(g);
	}