Exemplo n.º 1
0
        public Blockbuster()
        {
            Movies = new List <Movie>();
            List <string> lionKingScenes = new List <string>();
            string        lKScene1       = "There was a baby Lion named Simba";
            string        lKScene2       = "Simba's uncle, Scar, kills Simba's dad, Mufasa";
            string        lKScene3       = "Simba runs away and becomes friends with Timone and Pumba, a meerkat and warthod";
            string        lKScene4       = "Hukuna Matata";
            string        lKScene5       = "Simba's childhood friend/love interest finds Simba and tells him to come home";
            string        lKScene6       = "Simba comes home and defeats Scar and they live happily ever after";
            string        lKScene7       = "The End.";

            lionKingScenes.Add(lKScene1);
            lionKingScenes.Add(lKScene2);
            lionKingScenes.Add(lKScene3);
            lionKingScenes.Add(lKScene4);
            lionKingScenes.Add(lKScene5);
            lionKingScenes.Add(lKScene6);
            lionKingScenes.Add(lKScene7);

            VHS theLionKing = new VHS("The Lion King", Genre.Drama, 85, lionKingScenes, 3);
            VHS meanGirls   = new VHS("Mean Girls", Genre.Comedy, 97,
                                      new List <string>()
            {
                "This girl was home schooled in Africa and then her parents moved home and she had to go to public school",
                "She makes some friends who give her a tour of the school cliques",
                "She infiltrates the plastics",
                "There's a book where you write mean things about each other",
                "They release the book, everyone goes CRAY!",
                "Everyone goes to therapy",
                "The End"
            },
                                      2);
            VHS cinderella = new VHS("Cinderella", Genre.Romance, 74,
                                     new List <string>()
            {
                "This girl's parents die", "Her stepmom and stepsisters are horrible", "They make her work so much", "There's a party, but she can't go since she's not fancy and she has too much work to do so she can get fance",
                "Don't worry: her mice/bird friends made her an outfit", "Her stepmom destroyed it", "OOOOH Bibbity bobbity boo! Fairy magic saves the day- she has a dress", "She goes to the party", "She falls in love but sadly he has a rare eye condition where he can't recognize her if she doesn't wear her shoes",
                "She lost her shoes", "Her mom locks her up when the dude comes trying to have all the girls try on the shoe", "She gets out", "They get married", "the end."
            }

                                     , 4);
            DVD hiddenFigures = new DVD("Hidden Figures", Genre.Drama, 127,
                                        new List <string>()
            {
                "It's 1961, people are racist",
                "Katherine Johnson is assigned to assist the Space Task Group given mad geometry and math skillz",
                "NASA installed IBM 7090 to replace human computer--Katherine teaches herslf how to use them and to make her team indispensable",
                "She did some cool shit.",
                "Mary became NASA's first female African-American engineer",
                "She won the Presidential Medal of Freedom and in 2016 NASA dedicated a building in her honor",
                "The End."
            });


            DVD psycho = new DVD("Psycho", Genre.Horror, 109,
                                 new List <string>()
            {
                "I don't really watch horror so I'm not actually sure what happens in this movie",
                "This lady is on the 'lam' for stealing from her boss",
                "She stops at the Bates motel",
                "He likes taxidermy and has a werid relationship with his mother"
            });
            DVD theBourneIdentity = new DVD("The Bourne Identity", Genre.Action, 119,
                                            new List <string>()
            {
                "So this dude", "He doesn't remember anything", "but he has mad skillz--he's like a super spy agent",
                "but he doesn't remember anything", "he's trying to figure out who he is while everyone is trying to kill him", "but he got this girl helping him out and he kinda likes her", "he gets away"
            });


            Movies.Add(theLionKing);
            Movies.Add(meanGirls);
            Movies.Add(psycho);
            Movies.Add(cinderella);
            Movies.Add(hiddenFigures);
            Movies.Add(theBourneIdentity);
        }
Exemplo n.º 2
0
        public static void PlayMovie(int choice)
        {
            List <string> vhsScenes = new List <string>();

            vhsScenes.Add("The sand Scene");
            vhsScenes.Add("The lot scene");
            vhsScenes.Add("The Baseball scene");
            List <string> vhsScenes2 = new List <string>();

            vhsScenes2.Add("Mom dies scene");
            vhsScenes2.Add("Bambi makes friends scene");
            vhsScenes2.Add("The end scene");
            List <string> vhsScenes3 = new List <string>();

            vhsScenes3.Add("Something scary scene");
            vhsScenes3.Add("Something else scary scene");
            vhsScenes3.Add("I think a guy chops through a door scene");
            VHS           v         = new VHS("The Sandlot", "Drama", 90, vhsScenes);
            VHS           b         = new VHS("Bambi", "Romance", 85, vhsScenes2);
            VHS           ts        = new VHS("The Shining", "Horror", 130, vhsScenes3);
            List <string> dvdScenes = new List <string>();

            dvdScenes.Add("Most annoying sound in the world");
            dvdScenes.Add("The scene where he got tounge stuck on an icy pole");
            dvdScenes.Add("The Pretty Bird Scene");
            List <string> dvdScenes2 = new List <string>();

            dvdScenes2.Add("Mom dies scene");
            dvdScenes2.Add("Nemo gets put in fish tank scene");
            dvdScenes2.Add("Shark meeting scene");
            List <string> dvdScenes3 = new List <string>();

            dvdScenes3.Add("Bruce Willis scene");
            dvdScenes3.Add("Something with a gun scene");
            dvdScenes3.Add("Bruce Willis wins scene");
            DVD  dumdum  = new DVD("Dumb and Dumber", "Comedy", 80, dvdScenes);
            DVD  fn      = new DVD("Finding Nemo", "Drama", 120, dvdScenes2);
            DVD  dh      = new DVD("Die Hard", "Action", 95, dvdScenes3);
            bool another = true;

            while (another)
            {
                if (choice == 1)
                {
                    v.Play();
                    another = Another();
                }
                if (choice == 2)
                {
                    b.Play();
                    another = Another();
                }
                if (choice == 3)
                {
                    ts.Play();
                    another = Another();
                }
                if (choice == 4)
                {
                    dumdum.Play();
                    another = Another();
                }
                if (choice == 5)
                {
                    fn.Play();
                    another = Another();
                }
                if (choice == 6)
                {
                    dh.Play();
                    another = Another();
                }
            }
        }