Exemplo n.º 1
0
 public Garneer(TPortionSize portion, TSnackType typeofsnack, bool needsause, int calories, string name, double price) : base(typeofsnack, needsause, calories, name, price)
 {
     this.Portion  = portion;
     this.Category = TCategorys.Garneer;
 }
Exemplo n.º 2
0
 public Chip(TChipsType type, int num, TSnackType typeofsnack, bool needsause, int calories, string name, double price) : base(typeofsnack, needsause, calories, name, price)
 {
     this.ChipsType   = type;
     this.NumofPieces = num;
     this.Category    = TCategorys.Chip;
 }
Exemplo n.º 3
0
 public Snack(TSnackType typeofsnack, bool needsause, int calories, string name, double price) : base(calories, name, price)
 {
     this.TypeofSnack = typeofsnack;
     this.NeedSause   = needsause;
     this.Category    = TCategorys.Snack;
 }