public double Visit(Touchpad touchpad) { return(touchpad.Platinum + touchpad.Silver); }
public CompoundBody(string name, Keyboard keyboard, Screen screen, Touchpad touchpad) : base(name) { components = new AbstracComponent[3] { keyboard, screen, touchpad }; }