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