public void DetachSouthNeighbor() { RoadData detached = southNeighboringRoad; southNeighboringRoad = null; if (detached.northNeighboringRoad != null) { detached.DetachNorthNeighbor(); detached.AdaptToNeighborhood(); } }
public void DetachSouthNeighbor() { RoadData detached = southNeighboringRoad; southNeighboringRoad = null; if (detached.northNeighboringRoad != null) { detached.DetachNorthNeighbor(); detached.AdaptToNeighborhood(); } }