Exemplo n.º 1
0
        static void Main(string[] args)
        {
            BunMaker  bunMaker   = new BunMaker();
            MeatMaker _MeatMaker = new MeatMaker();
            VegMaker  _VegMaker  = new VegMaker();
            Toppings  _Toppings  = new Toppings();
            BurgerA   _BurgerA   = new BurgerA(bunMaker, _VegMaker, _Toppings);

            _BurgerA.Deliver();
        }
Exemplo n.º 2
0
 public BurgerC(BunMaker _BunMaker, VegMaker _VegMaker, Toppings _Toppings)
 {
     bunMaker = _BunMaker;
     vegMaker = _VegMaker;
     toppings = _Toppings;
 }
Exemplo n.º 3
0
 public BurgerB(BunMaker _BunMaker, VegMaker _VegMaker, Toppings _Toppings) : base(_BunMaker, _VegMaker, _Toppings)
 {
 }