public void AddNeighbour(Subregion neighbour) { if (NeighbouringSubregions.Contains(neighbour)) { return; } NeighbouringSubregions.Add(neighbour); neighbour.AddNeighbour(this); }
public void RemoveNeighbour(Subregion neighbour) { NeighbouringSubregions.Remove(neighbour); neighbour.NeighbouringSubregions.Remove(this); }