예제 #1
0
 public FruitCakeBuilder()
 {
     Cake = new Cake();
 }
예제 #2
0
 public void AddPastry(string layerName)
 {
     Cake.AddLayer(new OrdinaryPastry(layerName));
 }
예제 #3
0
 public void AddCream(string creamName)
 {
     Cake.AddLayer(new CreamLayer(creamName));
 }
예제 #4
0
 public void AddBeauty(string beautyName)
 {
     Cake.AddLayer(new BeautyLayer(beautyName));
 }
예제 #5
0
 public SimpleCakeBuilder()
 {
     Cake = new Cake();
 }