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