예제 #1
0
    public void DetachEastNeighbor()
    {
        RoadData detached = eastNeighboringRoad;

        eastNeighboringRoad = null;

        if (detached.westNeighboringRoad != null)
        {
            detached.DetachWestNeighbor();
            detached.AdaptToNeighborhood();
        }
    }