Example #1
0
 public void AddToInventory (InventoryItem _item)
 {
     inventory.Add(_item);
 }
Example #2
0
 public void SubractFromInventory (InventoryItem _item)
 {
     inventory.Remove(_item);
 }
Example #3
0
 public bool CheckInventoryFor (InventoryItem _item)
 {
     bool tempBool;
     tempBool = inventory.Contains(_item) ? true : false;
     return tempBool;
 }