예제 #1
0
 public void ConstructRobot()
 {
     System.Console.WriteLine("Robot creation through facade starts...");
     _robotBody.MakeRobotBody();
     _robotColor.SetColor();
     System.Console.WriteLine();
 }
 public void ConstructRobot(string color, string metal)
 {
     Console.WriteLine("Creation of the robot start");
     rc.SetColor(color);
     rm.SetMetal(metal);
     rb.CreateBody();
     Console.WriteLine("Robot creation end");
 }