Пример #1
0
        public ChangingBackgroundState()
        {
            ChosenBackground chosenbackground = ChosenBackground.background1;

            // TODO: Add your initialization logic here
            // textures for background change
            #region ChangingBackground array initiation
            changingbackgrounds = new Texture2D[10];
            #endregion

            texttospeechengine = new TextToSpeechEngine();
            texttospeechobject = new TextToSpeechObject();

            reading           = Reading.nothing;
            backgroundchanger = 1;
            buttonobject      = new ChangingBackgroundButtonObject();
            buttonengine      = new ChangingBackgroundButtonEngine();
            //background key initialize
            backgroundkey = new KeyboardState();

            changingbackgroundsrect = new Rectangle(0, 0, 800, 600);

            place = new string[1];

            place[0]       = "mccormik tribune campus center";
            title          = new string[1];
            title[0]       = "Academic Resource Center";
            phonenumber    = new string[1];
            phonenumber[0] = "3 1 2 5 6 7 5 2 1 6";

            website        = new string[1];
            website[0]     = "arc.iit.edu";
            explination    = new string[1];
            explination[0] = "The Academic Resource Center (ARC) is a comprehensive center with a variety of free services for students and faculty.";
        }
Пример #2
0
        public BookStoreGamePlay()
        {
            ChosenBackground chosenbackground = ChosenBackground.background1;

            // TODO: Add your initialization logic here
            // textures for background change
            #region ChangingBackground array initiation
            changingbackgrounds = new Texture2D[10];
            #endregion

            texttospeechengine = new TextToSpeechEngine();
            texttospeechobject = new TextToSpeechObject();

            reading           = Reading.nothing;
            backgroundchanger = 1;
            buttonobject      = new ChangingBackgroundButtonObject();
            buttonengine      = new ChangingBackgroundButtonEngine();
            //background key initialize
            backgroundkey = new KeyboardState();

            changingbackgroundsrect = new Rectangle(0, 0, 800, 600);

            place = new string[1];

            place[0]       = "I I T";
            title          = new string[1];
            title[0]       = "Bookstore";
            phonenumber    = new string[1];
            phonenumber[0] = "3 1 2 5 6 7 3 1 2 0";

            website        = new string[1];
            website[0]     = "yourschoolyourbookstore.com";
            explination    = new string[1];
            explination[0] = "A complete line of books, supplies, architecture/engineering equipment, and IIT gifts and clothing are available in the IIT Main Campus, Barnes and Noble Bookstore.";
        }
        public CampusInformationCenter()
        {
            ChosenBackground chosenbackground = ChosenBackground.background1;

            // TODO: Add your initialization logic here
            // textures for background change
            #region ChangingBackground array initiation
            changingbackgrounds = new Texture2D[10];
            #endregion

            texttospeechengine = new TextToSpeechEngine();
            texttospeechobject = new TextToSpeechObject();

            reading           = Reading.nothing;
            backgroundchanger = 1;
            buttonobject      = new ChangingBackgroundButtonObject();
            buttonengine      = new ChangingBackgroundButtonEngine();
            //background key initialize
            backgroundkey = new KeyboardState();

            changingbackgroundsrect = new Rectangle(0, 0, 800, 600);

            place = new string[1];

            place[0]       = "I I T";
            title          = new string[1];
            title[0]       = "Campus Information Center";
            phonenumber    = new string[1];
            phonenumber[0] = "3 1 2 5 6 7 3 7 0 0";

            website        = new string[1];
            website[0]     = "iit.edu/campus_and_conference_centers";
            explination    = new string[1];
            explination[0] = "The Campus Information Center is your one-stop shop for any questions you have regarding the university. The CIC is located right outside of the MTCC Commons.";
        }