Exemplo n.º 1
0
 public HomeTheaterInfo(AmplifierInfo amp,
                        TunerInfo tuner,
                        DVDPlayerInfo dvd,
                        CDPlayerInfo cd,
                        ProjectorInfo projector,
                        ScreenInfo screen,
                        TheaterLightInfo lights,
                        PopcornPopperInfo popper)
 {
     _amplifier = amp;
     _tuner     = tuner;
     _dvdPlayer = dvd;
     _cdPlayer  = cd;
     _projector = projector;
     _screen    = screen;
     _light     = lights;
     _popper    = popper;
 }
 public void SetTuner(TunerInfo tuner)
 {
     _tuner = tuner;
     Console.WriteLine("Amplifier: " + Description + " setting tuner to " + tuner.Description);
 }