Esempio n. 1
0
 public Meat(TMeatType meatType, TServing_size serving_size, string name, int count, double price, double calorie_content) : base(serving_size, name, count, price, calorie_content)
 {
     this.MeatType     = meatType;
     this.Serving_size = serving_size;
     this.Category     = TCategorys.Meat;
 }
Esempio n. 2
0
 public Burger(TMeatType Mtype, TBurgerSize size, int calories, string name, double price) : base(calories, name, price)
 {
     this.meatType = Mtype;
     this.Size     = size;
     this.Category = TCategorys.Burger;
 }