Пример #1
0
 public void AddItemCombination(List<string> requiredItems, List<string> addedItems, List<string> removedItems)
 {
     ItemCombination itemCombination = new ItemCombination(requiredItems, addedItems, removedItems);
     itemCombinations.Add(itemCombination);
 }
Пример #2
0
        private void CombineItems(ItemCombination itemCombination)
        {
            DeselectCurrentItem();

            AddItems(itemCombination.AddedItems);
            RemoveItems(itemCombination.RemovedItems);
            ArrangeItems();
        }