예제 #1
0
 public static Computer CreateComputer(CPU cpu, RAM ram, GPU gpu)
 {
     Computer computer = new Computer();
     computer.cpu = cpu;
     computer.ram = ram;
     computer.gpu = gpu;
     return computer;
 }
예제 #2
0
 public Computer BusinessComputerAssemblyLine()
 {
     return(Computer.CreateComputer((BusinessCPU)cpuf.create(1), (BusinessRAM)ramf.create(1), (BusinessGPU)gpuf.create(1)));
 }
예제 #3
0
 public Computer GameComputerAssemblyLine()
 {
     return(Computer.CreateComputer((GameCPU)cpuf.create(0), (GameRAM)ramf.create(0), (GameGPU)gpuf.create(0)));
 }