public void updateBoardPanel(Action action, GameModel game) {
		if(action instanceof RotatableComponentAction){
//			System.out.println("in updateBoardPanel RotatableTileComponent");
			boardPanel.placeTile(((RotatableComponentAction)action).getY()*50, ((RotatableComponentAction)action).getX()*50, ((RotatableComponentAction)action).getRotationState(), boardModel.getElevationAtCellXY(((RotatableComponentAction)action).getX(), ((RotatableComponentAction)action).getY()), action.imageKey);
		}
		
		else if(action instanceof OneSpaceTileAction){
//			System.out.println("in updateBoardPanel OneSpaceTileAction");
			boardPanel.placeTile(((OneSpaceTileAction)action).getY()*50, ((OneSpaceTileAction)action).getX()*50, 0, boardModel.getElevationAtCellXY(((OneSpaceTileAction)action).getX(), ((OneSpaceTileAction)action).getY()), action.imageKey);
		}
		else if(action instanceof PlaceDeveloperOnBoardAction || action instanceof TakeDeveloperOffBoardAction || action instanceof MoveDeveloperAction) {
			Stack<Integer> xs = new Stack<Integer>();
			Stack<Integer> ys = new Stack<Integer>(); 
			Stack<String> images = new Stack<String>(); 
			for(Developer developer : game.getAllPlayerDevelopers()){
				if(developer != null){
					xs.push(developer.getX()*50);
					ys.push(developer.getY()*50);
					images.push("player_" + developer.getOwner().getColor());
				}
			}
			System.out.println(xs + " " + ys + " " + images);
			boardPanel.placeDeveloper(ys, xs, images);
		}
		else if(action instanceof HoldFestivalAction){
			boardPanel.haveFestivalOnPalace(((HoldFestivalAction)action).palaceXY[0], ((HoldFestivalAction)action).palaceXY[1]);
		}
		
	}