private void InitializeWines() { bottleOfWine = new BottleOfWine(); Cup.SetWineBottle(bottleOfWine); for (int i = 0; i < numberOfCupes; i++) { cupes.Add(new Cup()); } }
public static void SetWineBottle(BottleOfWine bw) { wineBottle = bw; }
private void InitializeWines() { bottleOfWine = new BottleOfWine(); Cup.SetWineBottle(bottleOfWine); for (int i = 0; i < numberOfCupes; i++) { cupes.Add(new Cup()); } }
public static void SetWineBottle(BottleOfWine bw) { wineBottle = bw; }