Esempio n. 1
0
 public void AddIce(int amount)
 {
     for (int i = 0; i < amount; i++)
     {
         iceCubes.Add(ice = new Ice(.01, 7, 1));
     }
 }
Esempio n. 2
0
 public Inventory()
 {
     cup      = new Cups(.15, 0, 8);
     sugar    = new Sugar(.01, 0, 1);
     ice      = new Ice(.01, 7, 1);
     lemon    = new Lemon(.55, 30, 3);
     allItems = new List <Item> {
         lemon, ice, sugar, cup
     };
     lemons = new List <Item>()
     {
     };
     iceCubes = new List <Item>()
     {
     };
     sugarCubes  = new List <Item> {
     };
     cups        = new List <Item> {
     };
     recipeItems = new List <string>()
     {
     };
 }
Esempio n. 3
0
 public void AddIce(Ice ice)
 {
     supplies[2].Add(ice);
 }