protected override void DerivedDestroyNode(DLink pLink) { // Only worry about composites here - Leaf nodes are owned by different managers if (pLink.GetType() == Type.GetType("SpaceInvaders.Composite")) { Composite pNode = (Composite)pLink; Debug.Assert(pNode != null); ClearList(pNode.GetComponentList()); } }