public void AddSubItem(QuakeCItem item) { if (item != null) { item.IsChild = true; Children.Add(item); } }
public QuakeCItem Add(string type, params object[] attributes) { QuakeCItem item = new QuakeCItem(type, attributes); Add(item); return(item); }
public void AddSubItem(string type, params object[] attributes) { QuakeCItem item = new QuakeCItem(type, attributes); AddSubItem(item); }
public void Add(QuakeCItem item) { elements.Add(item); }