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