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

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