Пример #1
0
 public void WatchMovie()
 {
     projector.On();
     projector.WidescreenMode();
     dvdplayer.On();
     cdplayer.On();
     cdplayer.Play();
 }
Пример #2
0
 public void WatchMovie(string movie)
 {
     Console.WriteLine("Get ready to watch a movie...");
     _popper.Pop();
     _lights.Dim(10);
     _screen.Down();
     _projector.On();
     _projector.WidescreenMode();
     _amp.On();
     _amp.SetDvd(_dvdPlayer);
     _amp.SetSurroundSound();
     _amp.SetVolume(5);
     _dvdPlayer.On();
     _dvdPlayer.Play(movie);
 }
 public void WatchMovie(string movie)
 {
     Console.WriteLine("Get ready to watch a movie...");
     popper.On();
     popper.Pop();
     lights.Dim(10);
     screen.Down();
     projector.On();
     projector.WideScreenMode();
     amp.On();
     amp.SetDvd(dvd);
     amp.SetSurroundSound();
     amp.SetVolume(5);
     dvd.On();
     dvd.Play(movie);
 }