void rotateFaceY(boolean clockwise) {
		int[] indexMap = getIndexMap();

		int f = turnedFaces[indexMap[Cube.FRONT]];
		int b = turnedFaces[indexMap[Cube.BACK]];
		int l = turnedFaces[indexMap[Cube.LEFT]];
		int r = turnedFaces[indexMap[Cube.RIGHT]];
		if(clockwise) {
			turnedFaces[indexMap[Cube.FRONT]] = l;
			turnedFaces[indexMap[Cube.BACK]] = r;
			turnedFaces[indexMap[Cube.LEFT]] = b;
			turnedFaces[indexMap[Cube.RIGHT]] = f;
		} else {
			turnedFaces[indexMap[Cube.FRONT]] = r;
			turnedFaces[indexMap[Cube.BACK]] = l;
			turnedFaces[indexMap[Cube.LEFT]] = f;
			turnedFaces[indexMap[Cube.RIGHT]] = b;
		}
	}