Ejemplo n.º 1
0
 public void RemoveBlueprint(Listof_InventoryItem i)
 {
     if (Blueprints.Contains(i))
     {
         Blueprints.Remove(i);
     }
 }
Ejemplo n.º 2
0
 public void AddBlueprint(Listof_InventoryItem i)
 {
     if (!Blueprints.Contains(i))
     {
         Blueprints.Add(i);
     }
 }
Ejemplo n.º 3
0
 public bool InCatalog(Listof_InventoryItem i)
 {
     if (Blueprints.Contains(i))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Ejemplo n.º 4
0
 public InventoryItem(Listof_InventoryItem i, int amount)
 {
     item   = i;
     Amount = amount;
 }