Exemple #1
0
 public void SetEdge(int Index, TileEdge Edge)
 {
     Configuration.SetEdge(Index, Edge);
     if (NeighborTiles[Index] != null && NeighborTiles[Index].Configuration.GetEdge((Index + 3) % 6) != Edge)
     {
         NeighborTiles[Index].SetEdge((Index + 3) % 6, Edge);
     }
 }