@Override
	public void update() {
		// If player wishes to skip screen
		if(Keybind.CONFIRM.clicked()) {
			// Remove current screen
			splashImages.poll();
			// Stop any sound effects playing
			
			// Restart screen if a new one exists
			if(!splashImages.isEmpty()) {
				timer = 5f;
				Camera.get().addScreenEffect(new TintEffect(new Vector4f(0f, 0f, 0f, 0f), 1f, true, Tween.IN));
			// Proceed with setup swap
			} else {
				Camera.get().cancelAllEffects();
				Theater.get().setSetup(new TitleMenu());
			}
		}
		
		// Adjust fading and reduce timer
		if(timer > 0f) {
			timer -= Theater.getDeltaSpeed(0.025f);
			
			// If a sound effect is to be played
			if(timer < 4f && !dinged) {
				//Ensemble.get().playSoundEffect(new SoundEffect("Just Like Make Game", 0.75f, false));
				dinged = true;
			}

			// Start fading out
			if(timer <= 1f && Camera.get().getTint().w == 0f) {
				Camera.get().addScreenEffect(new TintEffect(new Vector4f(0f, 0f, 0f, 1f), timer, true, Tween.OUT));
			}
		} else {
			// Remove current screen
			splashImages.poll();
			// Restart screen if a new one exists
			if(!splashImages.isEmpty()) {
				timer = 5f;
				Camera.get().addScreenEffect(new TintEffect(new Vector4f(0f, 0f, 0f, 0f), 1f, true, Tween.IN));
			// Proceed with setup swap
			} else {
				Theater.get().setSetup(new TitleMenu());
			}
		}
	}