public Beverage(string name, BevType bevtype, float price)
 {
   Name = name;
   Bevtype = bevtype;
   Price = price;
   Available = true;
 }
Beispiel #2
0
 public Water(string name, BevType bevtype, float price, bool hasCalories) : base(name, bevtype, price)
 {
     HasCalories = hasCalories;
 }
Beispiel #3
0
 public EnergyDrink(string name, BevType bevtype, float price, bool isDiet) : base(name, bevtype, price)
 {
     IsDiet = isDiet;
 }
Beispiel #4
0
 public Juice(string name, BevType bevtype, float price, string fruit) : base(name, bevtype, price)
 {
     Fruit = fruit;
 }
Beispiel #5
0
 public Soda(string name, BevType bevtype, float price, bool isDiet) : base(name, bevtype, price)
 {
     IsDiet = isDiet;
 }