Exemplo n.º 1
0
 public static int GetBlobTile(this Connectivity connectivity)
 {
     connectivity = connectivity.CullDiagonals();
     return(BlobTileMap.ContainsKey((int)connectivity) ? BlobTileMap[(int)connectivity] : BlobTileMap[0]);
 }