public void SetItemValue(VDFItem item, object value) { foreach (VDFItem cItem in items) { if (cItem == item) { cItem.value = value; } } }
public void AddItemToCatagory(VDFCatagory catagory, VDFItem item) { foreach (VDFCatagory cat in catagories) { if (cat == catagory) { cat.AddItem(item); } } }
public void RemoveCatagory(VDFItem item) { items.Remove(item); }
public void AddItem(VDFItem item) { items.Add(item); }
public void RemoveItem(VDFItem item) { items.Remove(item); }