예제 #1
0
 //Constructor
 public Motherboard(string manufacturar, RAM ram, CPU cpu, HardDrive hardDrive, GPU gpu)
 {
     Manufacturer    = manufacturar;
     TemporaryMemory = ram;
     Processor       = cpu;
     Storage         = hardDrive;
     Graphics        = gpu;
 }
예제 #2
0
 public bool CheckRequirements(Applications app, HardDrive hardDrive, RAM ram)
 {
     if (app.RequiredRAM < ram.totalGigabytes && app.RequiredStorage < hardDrive.availableStorage)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }