// CONSTRUCTOR (SPAWNER) public Motherboard(string manufacturer, CPU processor, RAM temporaryMemory, HardDrive storage, GPU graphics) { Manufacturer = manufacturer; Processor = processor; TemporaryMemory = temporaryMemory; Storage = storage; Graphics = graphics; }
// CONSTRUCTOR (SPAWNER) public Computer() { hardDrive = new HardDrive(1024, 1024); ram = new RAM(32, "Kingston"); gpu = new GPU("Nvidia", 8.0); cpu = new CPU("Intel", "i9"); motherboard = new Motherboard("MSI Gaming", cpu, ram, hardDrive, gpu); }
public void CheckReuqirements(Applications app, HardDrive hardDrive, RAM ram) { if (TemporaryMemory.TotalGigabytes > application.RequiredRam && Storage.AvailableStorage > application.RequiredStorage) { } }
// CONSTRUCTOR (SPAWNER) //MEMBER METHODS (CAN DO) public void ProcessInstall(Applications app, HardDrive hardDrive, RAM ram) { }