protected void refreshAllCubes() {

		if(this.cube != null)
		{
			for(int face = 0; face < this.cube.getNumFaces(); face++)
			{
				for(int row = 1; row <= this.cube.getDimension(); row++)
				{
					for(int column = 1; column <= this.cube.getDimension(); column++)
					{

						for(Window w:images){

							if(face == w.face && row == w.row && column== w.col){

								if(!w.isDiscovered){
									((MatchingPatternCube)this.cube).showMeshOnFace(face, row, column,"images/match/background.png");
								}
								w.isOpen = false;

							}
						}
					}
				}
			}
		}
	}