private static void setSquareOpenings() {
		for (int i=0; i<mazeLines.size(); i++) {
			for (int j=0; j<mazeLines.get(i).length(); j++) {
				if (String.valueOf(mazeLines.get(i).charAt(j)).equals(" ")) {
					if (i%2 == 0) { // ouvertures N-S
						int xIndex = (j-(j%4))/4;
						int yIndexN = (i/2)-1;
						int yIndexS = i/2;
						if (yIndexN >= 0) {
							maze[yIndexN][xIndex].setSouthOpen();
						}
						if (yIndexS < mazeHeight) {
							maze[yIndexS][xIndex].setNorthOpen();
						}
					}
					else { // ouvertures W-E
						if (j%4 == 0) { // est-on entre deux cases
							int xIndexW = (j/4)-1;
							int xIndexE = j/4;
							int yIndex = (i-1)/2;
							if (xIndexW >= 0) {
								maze[yIndex][xIndexW].setEastOpen();
							}
							if (xIndexE < mazeWidth) {
								maze[yIndex][xIndexE].setWestOpen();
							}
						}
					}
				}
			}
		}
	}