public void Add(NgbhSlot item) { list.Add(item); if (parent != null) { parent.Changed = true; } }
public void Remove(NgbhSlot item) { list.Remove(item); if (parent != null) { parent.Changed = true; } }
public NgbhSlot AddNew(uint inst) { NgbhSlot s = new NgbhSlot(parent, type); s.SlotID = inst; Add(s); return(s); }
public bool Contains(NgbhSlot item) { return(list.Contains(item)); }