public Computer AssembleComputer() { builder.AddCPU(); builder.AddCabinet(); builder.AddMonitor(); builder.AddKeyboard(); builder.AddMouse(); return(builder.GetComputer()); }
/// <summary> /// Coordena a construção de um computador /// </summary> /// <returns>Computer</returns> public Computer AssembleComputer() { computerBuilder.AddCabinet(); computerBuilder.AddMotherBoard(); computerBuilder.AddCPU(); computerBuilder.AddKeyBoard(); computerBuilder.AddMouse(); computerBuilder.AddMonitor(); return(computerBuilder.GetComputer()); }