public void updateScreens() {
//		GameScreen g = screens.get(screens.size()-1);
		List<GameScreen> screensToInput =  new ArrayList<GameScreen>();
		for (int i = screens.size() - 1; i >= 0; i--) {
			if (screens.get(i).state != ScreenState.HIDDEN) {
				screensToInput.add(screens.get(i));
			}
		}
		
		GameScreen s1 = screens.get(screens.size()-1);
		while (!inputQueue.isEmpty()) {
			InputEvent e = inputQueue.poll();
//			for (GameScreen s : screensToInput) {
				s1.manageInput(e);
//			}
//			g.manageInput(e);
		}
		
		for (GameScreen s : screens) {
			s.updateScreen();
		}
	}