public double Visit(CompoundMotherboard compoundMotherboard) { return(compoundMotherboard.GetSumOfValidMetal()); }
public CompoundInsides(string name, CompoundMotherboard compoundMotherboard, Cooler cooler) : base(name) { components = new AbstracComponent[2] { compoundMotherboard, cooler }; }