public void updateAllFrames() {
		if(game.isGameOver()){
			notifyGameOver();
			return;
		}
		GameFrame toFront = null;
		 for(Map.Entry<Player, GameFrame> e : allGameFrames.entrySet()){
			 GameFrame frame = e.getValue();
			 if(e.getKey().getName().equals(game.getCurrentPlayer().getName())){
				 toFront = frame;
			 }
			 frame.update(game);
		 }
		 toFront.toFront();
	}