public Computer CreatePowerfullComputer() { _builder.AddMotherBoard(); _builder.AddCPU(); _builder.AddRAM(); _builder.AddSSD(); _builder.AddVideoCard(); return(_builder.GetResult()); }
/// <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()); }