public override int GetCost() { return(Cake.GetCost() - 1); }
public DeliveryCake(Cake p) : base(p.Name + ", с доставкой", p) { }
public ThereCake(Cake p) : base(p.Name + ", есть на месте", p) { }
public CakeDecorator(string n, Cake Cake) : base(n) { this.Cake = Cake; }