Exemplo n.º 1
0
 public Cake(int i)
 {
     cakeType = new Traditional(i);
 }
Exemplo n.º 2
0
 public Cake(bool an, bool gr, bool we, bool ch, bool va, bool ba, bool t1, bool t2, bool t3)
 {
     cakeType = new Custom(an, gr, we, ch, va, ba, t1, t2, t3);
 }