public void RemoveItemFromInventory(GameItems item) { Inventory.Remove(item); }
public void AddItemToInventory(GameItems item) { Inventory.Add(item); OnPropertyChanged(nameof(Weapons)); }
public void AddItemToInventory(GameItems item) { Inventory.Add(item); }
//Similiar to AddItemToInventory method, we need to notify UI we a gameitem was removed public void RemoveItemFromInventory(GameItems item) { Inventory.Remove(item); OnPropertyChanged(nameof(Weapons)); }