Skip to content

amjadhz/sde_facade

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HomeCinema

How to put this thing on??? The following scenarios are supported by the code. But it is not easy, there are so many classes.. Can someone make this easier? Please help!

To watch a movie we should:

  1. turn popcorn popper on.
  2. let the popcorn popper pop.
  3. Dim the lights
  4. Put the screen down
  5. Put the projector on
  6. and set it to wide screen mode
  7. Put the amplifier on
  8. insert an DVD in it
  9. enable surround sound on
  10. set the volume to 5
  11. set the dvdplayer on
  12. play the movie on the dvd player

When we're ready watching the movie:

  1. turn the popcorn popper off
  2. put the lights on
  3. roll up the screen
  4. turn off the projector
  5. turn off the amplifier
  6. stop the dvd
  7. eject dvd
  8. turn off dvd player

To listen to the music we should:

  1. put the lights on
  2. put the amplifier on
  3. set the volume of the amplifier to 5
  4. insert a cd in the amplifier
  5. and enable sterio sound
  6. turn the cd player on
  7. let the player play the cd

When we're ready listening music:

  1. turn the amplifier off
  2. set the amplifier to cd mode
  3. eject cd out of the cd player
  4. turn off cd player

To listen to the radio we should:

  1. turn the tuner on
  2. set the frequence to the required number
  3. turn the amplifier on
  4. set the amplifier volume to 5
  5. set the amplifier to tuner mode

When we're ready listening music:

  1. turn of the tuner
  2. turn off the amplifier

Acknowledgements

The code of this assignment is taken from Head First Design Patterns A Brain-friendly Guide. We thank the authors Eric Freeman Elisabeth Robson for this.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%