public void update(float dt) {
		GameState g = gameStates.peekFirst();
		boolean faded = game.getSpriteBatch().update(dt);
		
		if(fading){
			if(fadeType==1){
				volume += dt * fadeType;
				if (volume < 0)
					volume = 0;
			} else 
				volume = Game.musicVolume;

//			g.getSong().setVolume(volume);

			if(faded)
				if(fadeType == -1){
					fadeType = 1;
					popState();
				} else  {
					fading = false;
				}
		}
		
		g.update(dt);
	}