public void setNbOfMinesTouched(int nbOfMines) {
		this.nbOfMinesTouched = nbOfMines;
		switch (nbOfMinesTouched) {
		case 0:
			type = CellType.EMPTY;
			break;
		case 1:
			type = CellType.ONE;
			break;
		case 2:
			type = CellType.TWO;
			break;
		case 3:
			type = CellType.THREE;
			break;
		case 4:
			type = CellType.FOUR;
			break;
		case 5:
			type = CellType.FIVE;
			break;
		case 6:
			type = CellType.SIX;
			break;
		case 7:
			type = CellType.SEVEN;
			break;
		case 8:
			type = CellType.EIGHT;
			break;
		}
	}