@Override
	public void render(float delta) {
		Gdx.gl.glClearColor(0.56f, 0.165f, 0.1f, 1);
		Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
		timeElapsed += delta;
		gameOverView.render(delta);
		
		/**
		 * If the round score is higher than the highscore it will be saved
		 * as new highscore
		 * */
		if(!doneCheckingForHighscore){
			doneCheckingForHighscore = true;
			int highscore = ScoreRepository.getInstance().retrieveScore();
			if(roundScore> highscore){
				ScoreRepository.getInstance().saveScore(roundScore);
			}
		}
		
		/**
		 * Check for input so you can go back to the title screen
		 * */
		if ((Gdx.input.justTouched()||Gdx.input.isKeyPressed(Keys.BACK))&&timeElapsed>1) {
			MusicPlayer.getInstance().stopSoundtrack();
			this.game.setScreen(new TitleScreen(game));
		}
	}