Пример #1
0
 public StewedPork(FoodClass f) : base(f)
 {
     this.Price    = 30;
     this.Descript = "焢肉";
 }
Пример #2
0
 public Cheese(FoodClass f) : base(f)
 {
     this.Price    = 10;
     this.Descript = "起司";
 }
Пример #3
0
 public PorkChop(FoodClass f) : base(f)
 {
     this.Price    = 50;
     this.Descript = "豬排";
 }
Пример #4
0
 public SideDish(FoodClass f)
 {
     this.food = f;
 }