Beispiel #1
0
    public void DetachWestNeighbor()
    {
        RoadData detached = westNeighboringRoad;

        westNeighboringRoad = null;

        if (detached.eastNeighboringRoad != null)
        {
            detached.DetachEastNeighbor();
            detached.AdaptToNeighborhood();
        }
    }