Exemplo n.º 1
0
        public static House CreateHouse(Builder builder)
        {
            builder.BuildDoor();
            builder.BuildDoor();

            builder.BuildWall();
            builder.BuildWall();
            builder.BuildWall();
            builder.BuildWall();

            builder.BuildWindows();
            builder.BuildWindows();
        }
Exemplo n.º 2
0
 public void Building(Builder builder)
 {
     builder.BuildWall();
     builder.BuildDoor();
     builder.BuildWindows();
 }