Пример #1
0
 //Adds an item instance to the lootbook.
 public void AddItemToModel(LootItem i)
 {
     book.AddLootItem(i);
 }
Пример #2
0
 //Removes an item instance from the lootbook.
 public void RemoveItemFromModel(LootItem i)
 {
     book.RemoveLootItem(i);
 }
Пример #3
0
 //Method to add a loot item to the lootlist.
 public void AddLootItem(LootItem l)
 {
     _lootlist.Add(l);
     NotifyPropertyChanged("lootlist");
 }