Пример #1
0
    public void DetachSouthNeighbor()
    {
        RoadData detached = southNeighboringRoad;

        southNeighboringRoad = null;

        if (detached.northNeighboringRoad != null)
        {
            detached.DetachNorthNeighbor();
            detached.AdaptToNeighborhood();
        }
    }