/// <summary> /// Meldet die Intersection i bei der NodeConnection ab /// </summary> /// <param name="i">abzumeldende Intersection</param> public void RemoveIntersection(Intersection i) { intersections.Remove(i); }
/// <summary> /// Zerstört die Intersection und meldet sie überall ab /// </summary> /// <param name="i">zu zerstörende Intersection</param> private void DestroyIntersection(Intersection i) { if (i != null) { i.Dispose(); intersections.Remove(i); } }
/// <summary> /// macht der NodeConnection eine Intersection bekannt /// </summary> /// <param name="i">Intersection-Objekt mit allen nötigen Informationen</param> public void AddIntersection(Intersection i) { if (this == i._aConnection) i._aListNode = intersections.Add(i); else i._bListNode = intersections.Add(i); }
/// <summary> /// Standardkonstruktor /// </summary> /// <param name="nc">NodeConnection</param> /// <param name="i">Intersection, die an nc liegt</param> public SpecificIntersection(NodeConnection nc, Intersection i) { nodeConnection = nc; intersection = i; }