public static void calculateHeightData(Tile tile, Point[] surrPoints) {
		Tile[] sTiles = Utils.surroundingPointsToTiles(surrPoints);		// Pattern produced by this method matches the encoding.
		for (int i = 0; i < sTiles.length; i++) {
			Tile sTile = sTiles[i];
			// Only interested in surrounding tiles that are lower.
			if (tile != null && sTile != null && tile.floor > sTile.floor) {
				tile.borderFlagTwo = setBit(tile.borderFlagTwo, i, 1);		// "i" can be simply used here because the pattern produced by Utils is compatible.
			}
		}
	}