예제 #1
0
    public void DetachNorthNeighbor()
    {
        RoadData detached = northNeighboringRoad;

        northNeighboringRoad = null;

        if (detached.southNeighboringRoad != null)
        {
            detached.DetachSouthNeighbor();
            detached.AdaptToNeighborhood();
        }
    }