示例#1
0
        /// <summary>
        /// Destroys a child node
        /// </summary>
        /// <param name="child">Child to destroy</param>
        public void DestroyChild(Node child)
        {
            if (child._parentNode != this) throw new ArgumentException("", "child");

            child.DestroyAllChild();
            RemoveChild(child);
            DestroyChildIntern(child);
        }