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