public void WatchMovie() { amplifier.On(); tuner.On(); dvdPlayer.On(); projector.On(); }
//Definimos los métodos del subsistema a ejecutar en cada punto de acceso de la fachada //Encendemos y preparamos todo para iniciar la película public void WatchMovie(string movie) { Console.WriteLine("Get ready to watch a movie..."); popper.On(); popper.Pop(); lights.Dim(10); projector.On(); projector.WideScreenMode(); amp.On(); amp.SetDvd(dvd); amp.SetSurroundSound(); amp.SetVolume(5); dvd.On(); dvd.Play(movie); }
public void StartWatchingFilm(String film) { Console.WriteLine("Be ready for watching film..."); PopcornMachine.On(); PopcornMachine.Start(); Light.Dim(10); Screen.Down(); Projector.On(); Projector.SetWidescreen(); Amplifier.On(); Amplifier.SetSurroundSound(); Amplifier.SetSoundLevel(5); DvdPlayer.On(); DvdPlayer.Play(film); }
public void WatchMovie(String movie) { Console.WriteLine("Get ready to watch a movie..."); _popcornPopper.On(); _popcornPopper.Pop(); _theaterLights.Dim(10); _screen.Down(); _projector.On(); _projector.WideScreenMode(); _amplifier.On(); _amplifier.SetDvd(string); _amplifier.SetSurroundSound(); _amplifier.SetVolume(5); _dvdPlayer.On(); _dvdPlayer.PlayMovie(movie); }