Ejemplo n.º 1
0
 public void removePhialFromInventory(PhialType type)
 {
     PhialInventory.Remove(type);
 }
Ejemplo n.º 2
0
        public int getCountOfPhialsOfSortInInventory( PhialType type)
        {
            int count = 0;

            foreach (PhialType itemInList in PhialInventory)
            {
                if(itemInList ==type)
                {
                    count++;
                }
            }
            return count;
        }
Ejemplo n.º 3
0
 ///PHIALS
 public void addPhialToinventory(PhialType type)
 {
     if(PhialInventory.Count<phialSizeMax)
     {
         PhialInventory.Add(type);
     }
 }
Ejemplo n.º 4
0
 public bool checkIfPhialIsInInventory(PhialType type)
 {
     if(PhialInventory.Contains(type))
     {
         return true;
     }
     return false;
 }
Ejemplo n.º 5
0
 public static BaseRecipe getRecipe(PhialType type)
 {
     return Recipes.Instance().GetSingleRecipe(type.ToString());
 }