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

            Add(item);

            return(item);
        }
Example #3
0
        public void AddSubItem(string type, params object[] attributes)
        {
            QuakeCItem item = new QuakeCItem(type, attributes);

            AddSubItem(item);
        }
Example #4
0
 public void Add(QuakeCItem item)
 {
     elements.Add(item);
 }