Example #1
0
 public HomeTheaterFacade(Amplifier amp,
                          Tuner tuner,
                          DvdPlayer dvd,
                          CdPlayer cd,
                          Projector projector,
                          Screen screen,
                          TheaterLights lights,
                          PopcornPopper popper)
 {
     _amp       = amp;
     _tuner     = tuner;
     _dvd       = dvd;
     _cd        = cd;
     _projector = projector;
     _screen    = screen;
     _lights    = lights;
     _popper    = popper;
 }
 public CdPlayer(string description, Amplifier amplifier)
 {
     _description = description;
     _amplifier   = amplifier;
 }