Exemplo n.º 1
0
        // Builder uses a complex series of steps

        public void Construct(Builder builder)
        {
            builder.BuildBody();
            builder.BuildTyres();
            builder.InstallParts();
            builder.Paint();
        }
Exemplo n.º 2
0
 private void CreatePerson()
 {
     builder.BuildHead();
     builder.BuildBody();
     builder.BuildLeftArm();
     builder.BuildRightArm();
     builder.BuildLeftLeg();
     builder.BuildRightLeg();
 }