Example #1
0
        /*==============*
         *  Setup Menu   *
         *===============*/
        public void HandleSetupMenu()
        {
            InGame = false;
            ManagerInput.ClickCooldown = Utility.CLICK_COOLDOWN_MENU;
            Vector2 scaleBackgroundMenu = new Vector2(2f, 10f);

            backgroundMenu = new SpriteRectangle(Utility.nameBackground, textureButtonMenu, scaleBackgroundMenu, "");
            SetupListButtonsMenuStart();
            SetupListCategories();
            SetupListSizes();
        }
Example #2
0
        /*======================*
         *  Setup Game Screen    *
         *=======================*/
        public void HandleSetupGameScreen(string listChosen, int sizeChosen)
        {
            grid.SetupGridGame(listChosen, sizeChosen);
            Utility.nameHeadingNameList = listChosen;
            Vector2 scaleBackgroundMessage = new Vector2(4f, 3f);

            backgroundMessageWin   = new SpriteRectangle(Utility.nameBackground, textureButtonMenu, scaleBackgroundMessage, Utility.textMessageWin);
            backgroundMessageHowTo = new SpriteRectangle(Utility.nameBackground, textureButtonMenu, scaleBackgroundMessage, Utility.textMessageHowTo);
            // Create buttons, place in ListLettersGrid list
            SetupListWordsToFind();
            SetupListLettersGrid();
            SetupListButtonsGame();
            InGame = true;
        }