示例#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");
 }