public HomeTheaterFacade( Amplifier amplifier, CdPlayer cdPlayer, DvdPlayer dvdPlayer, PopcornPopper popcornPopper, Projector projector, Screen screen, TheaterLights theaterLights, Tuner tuner ) { this.amplifier = amplifier; this.cdPlayer = cdPlayer; this.dvdPlayer = dvdPlayer; this.popcornPopper = popcornPopper; this.projector = projector; this.screen = screen; this.theaterLights = theaterLights; this.tuner = tuner; }
public DvdPlayer(Amplifier amplifier) { this.amplifier = amplifier; }
public Tuner(Amplifier amplifier) { this.amplifier = amplifier; }