예제 #1
0
 public void First(int count)
 {
     if (count == 0)
     {
         technology.FirstBuy();
     }
     else if (count == 1)
     {
         science.FirstBuy();
     }
     else if (count == 2)
     {
         population.FirstBuy();
     }
     else if (count == 3)
     {
         army.FirstBuy();
     }
     else if (count == 7)
     {
         energy.FirstBuy();
     }
     else if (count == 5)
     {
         food.FirstBuy();
     }
 }