示例#1
0
 public void CreateMilkyWay()
 {
     for (int i = 0; i <= 9; i++)
     {
         Chocolate milky_way = new Chocolate("Milky Way", 1);
         Milky_Way.Push(milky_way);
     }
 }
示例#2
0
 public void CreateKinderBueno()
 {
     for (int i = 0; i <= 9; i++)
     {
         Chocolate kinder_bueno = new Chocolate("Kinder Bueno", 1);
         Kinder_Bueno.Push(kinder_bueno);
     }
 }
示例#3
0
 public void CreateTwix()
 {
     for (int i = 0; i <= 9; i++)
     {
         Chocolate twix = new Chocolate("Twix", 1);
         Twix.Push(twix);
     }
 }
示例#4
0
 public void CreateBounty()
 {
     for (int i = 0; i <= 9; i++)
     {
         Chocolate bounty = new Chocolate("Bounty", 1);
         Bounty.Push(bounty);
     }
 }
示例#5
0
 public void CreateMarsBar()
 {
     for (int i = 0; i <= 9; i++)
     {
         Chocolate mars_Bar = new Chocolate("Mars Bar", 1);
         Mars_Bar.Push(mars_Bar);
     }
 }