private void AddAttachableLine(MyAttachableLine line)
        {
            Debug.Assert(line.Contains(this), "Adding a line to the attachable conveyor endpoint that does not contain it!");
            Debug.Assert(!AlreadyAttachedTo(line.GetOtherVertex(this) as MyAttachableConveyorEndpoint), "An attachable conveyor line is already attached to the given counterpart!");

            m_lines.Add(line);
        }
        public void Attach(MyAttachableConveyorEndpoint other)
        {
            var line = new MyAttachableLine(this, other);

            AddAttachableLine(line);
            other.AddAttachableLine(line);
        }
        private void RemoveAttachableLine(MyAttachableLine line)
        {
            Debug.Assert(m_lines.Contains(line), "Attachable line was not attached in an attachable conveyor endpoint");

            m_lines.Remove(line);
        }