Beispiel #1
0
		/// <summary>
		/// Meldet die Intersection i bei der NodeConnection ab
		/// </summary>
		/// <param name="i">abzumeldende Intersection</param>
		public void RemoveIntersection(Intersection i)
			{
			intersections.Remove(i);
			}
Beispiel #2
0
 /// <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);
         }
 }
Beispiel #3
0
		/// <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);
			}
Beispiel #4
0
 /// <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;
 }