コード例 #1
0
        private void InitializeWines()
        {
            bottleOfWine = new BottleOfWine();

            Cup.SetWineBottle(bottleOfWine);

            for (int i = 0; i < numberOfCupes; i++)
            {
                cupes.Add(new Cup());
            }
        }
コード例 #2
0
 public static void SetWineBottle(BottleOfWine bw)
 {
     wineBottle = bw;
 }