示例#1
0
 public void RemoveItemFromInventory(GameItem item)
 {
     Inventory.Remove(item);
     OnPropertyChanged(nameof(Weapons));
 }
示例#2
0
 public void RemoveItemFromInventory(GameItem item)
 {
     Inventory.Remove(item);
 }
示例#3
0
        public void AddItemToInventory(GameItem item)
        {
            Inventory.Add(item);

            OnPropertyChanged(nameof(Weapons));
        }
示例#4
0
 public void AddItemToInventory(GameItem item)
 {
     Inventory.Add(item);
 }