public void initialisation(final int[][] keysTable) throws KeyTableSizeException, KeyValueException {
		if (keysTable.length != xSize || keysTable[0].length != ySize) {
			throw new KeyTableSizeException();
		} else {
			for (int i = 0; i < xSize; ++i) {
				for (int j = 0; j < ySize; ++j) {
					switch (keysTable[i][j]) {
					case Game.SEA_KEY:
						squares[i][j] = new SeaSquare(i, j, SquareType.SEA);
						break;
					case Game.LAND_KEY:
						squares[i][j] = new LandSquare(i, j, SquareType.LAND);
						break;
					default:
						throw new KeyValueException();
					}
				}
			}
		}
	}