/** * Clears the list of child {@link Node nodes}. */ public void clearChildren() { int childCount = children.size(); for (int i = 0; i < childCount; i++) { removeChild(i); } }
/** * Clears the list of child {@link Node nodes}. */ public void clearChildren() { int childCount = children.size(); for (int i = 0; i < childCount; i++) { removeChild(i); } }