コード例 #1
0
        public void Start()
        {
            DrawScreen();
            Console.Title = "The Dinner Party : Search Crime Scene";
            location      = "Crime Scene";

            CrimeSceneDescription();//only use once

            while (loopBreak == false)
            {
                choiceList.Add("Search bed");//add all choices regardless of what player has already seen
                choiceList.Add("Search desk");
                choiceList.Add("Search trash can");
                choiceList.Add("Search floorboards");

                AddChoicesForInput();
                AllSearchDescriptions();

                if (checkedTrashCan)
                {
                    if (checkedFloorboards)
                    {
                        loopBreak = true;
                    }
                }
            }

            checkedTheCrimeScene = true;

            if (TalkToME.talkedToTheME == true)
            {
                CrimeText.Add("");
                CrimeText.Add("");
                CrimeText.Add("");
                CrimeText.Add("");
                CrimeText.Add("");
                CrimeText.Add("");
                CrimeText.Add("");
                CrimeText.Add("");
                CrimeText.Add("\"Sir,\" says one of the cops,");
                CrimeText.Add("\"I think it's time to interview the suspects...\"");
                CrimeText.Add("He shows you to the door, and you feel as if you've overstayed your welcome.");
                AddAllText();
                choiceList.Add("Go interview suspects");
                AddChoicesForInput();
                DrawScreen();
                SuspectInterviewPage suspectInterviewPage = new SuspectInterviewPage();
                suspectInterviewPage.StartInterview();
            }

            else if (TalkToME.talkedToTheME == false)
            {
                CrimeText.Add("");
                CrimeText.Add("");
                CrimeText.Add("");
                CrimeText.Add("");
                CrimeText.Add("");
                CrimeText.Add("");
                CrimeText.Add("");
                CrimeText.Add("");

                CrimeText.Add("\"Time's up.\" says one of the cops, steering you toward the Medical Examiner.");
                CrimeText.Add("\"He hasn't got all day, you know.\"");
                AddAllText();

                choiceList.Add("Talk to the Medical Examiner.");
                AddChoicesForInput();

                TalkToME talkToME = new TalkToME();
                talkToME.Start();
            }
        }