Пример #1
0
 public void WatchMovie()
 {
     PopcornMachine.On();
     Tuner.On();
     DvdPlayer.On();
     Projector.On();
     Screen.On();
 }
 public void WatchMovie(string movieName)
 {
     Console.WriteLine("Preparing to watch {0}", movieName);
     _popcornMachine.On();
     _popcornMachine.Pop();
     _light.On();
     _light.Dim(10);
     _screen.Down();
     _projector.On();
     _projector.WideScreenMode();
     _amplifier.On();
     _amplifier.DvdPlayer = _dvdPlayer;
     _amplifier.SetSurroundSound();
     _amplifier.SetVolume(10);
     _dvdPlayer.On();
     _dvdPlayer.Play(movieName);
 }