public override void LoadContent()
        {
            background = Globals.content.Load <Texture2D>("Menues/MainMenu/GameSettingsMenu/game-settings-menu-background");

            gameDifficultyTextLabel = new MenuLabel(
                Globals.content.Load <SpriteFont>("Fonts/arial-40"),
                new Vector2(1920 / 2, 240),
                "Game Difficulty",
                Color.Black
                );
            labelList.Add(gameDifficultyTextLabel);

            gameplayDifficultySelection = new MenuButtonSideScroll(
                new Vector2(1920 / 2 - MenuButton.buttonSize.X / 2, 310 - MenuButton.buttonSize.Y / 2),
                this,
                MenuButton.buttonSize,
                GameplaySettingsManager.gameplayDifficultiesFriendlyStrings,
                (int)GameplaySettingsManager.currentGameplayDifficulty
                );
            buttonList.Add(gameplayDifficultySelection);

            beginGameButton = new MenuButton(
                new Vector2(1920 / 2 - MenuButton.buttonSize.X / 2 - 15, 420 - MenuButton.buttonSize.Y / 2 - 5),
                this,
                MenuButton.buttonSize + new Vector2(30, 10),
                "Begin Game",
                Globals.content.Load <SpriteFont>("Fonts/arial-bold-40")
                );
            buttonList.Add(beginGameButton);
        }
 public virtual void ButtonSideScrollScrolled(MenuButtonSideScroll button, int direction)
 {
     //Do nothing
 }
Exemple #3
0
 public virtual void ButtonSideScrollScrolled(MenuButtonSideScroll button, int value)
 {
     //Do nothing
 }