Ejemplo n.º 1
0
 public virtual void BreakConnection(BoxLink <EntityType> ConnectionToBreak)
 {
     if (ConnectionToBreak == DragLink)
     {
         DragLink             = null;
         CurrentMoveDirection = MoveDirection.Move_Stopped;
     }
     else
     {
         ConnectionToBreak.CleanupBeforeRemoval();
         Connections.Remove(ConnectionToBreak);
     }
 }
Ejemplo n.º 2
0
 public virtual void BeginDragConnection(Anchor <EntityType> DragStart)
 {
     DragSource = DragStart;
     DragLink   = new BoxLink <EntityType>(DragSource);
 }