예제 #1
0
 protected override void SetupMenuSelection(MenuSelections menuSelection)
 {
     menuSelection.AddPick("start");
     menuSelection.AddPick("options");
     menuSelection.AddPick("highscore");
     menuSelection.AddPick("quit");
 }
예제 #2
0
        protected override void SetupMenuSelection(MenuSelections menuSelection)
        {
            menuSelection.AddSetting("controlls", new string[] { "simple ", "complex" });
            menuSelection.AddSetting("fps", new string[] { "60", "30", "20" });
            menuSelection.AddSetting("color", new string[] { "full", "none" });
            menuSelection.AddSetting("unicode", new string[] { "full", "limited" });
            menuSelection.AddPick("back");

            menuSelection.SetSettingState("fps", $"{_gameSettings.FPS}");
            menuSelection.SetSettingState("controlls", _gameSettings.Controlls);
            menuSelection.SetSettingState("color", $"{_gameSettings.Color}");
            menuSelection.SetSettingState("unicode", _gameSettings.Unicode);
        }
예제 #3
0
        protected override void SetupMenuSelection(MenuSelections menuSelection)
        {
            if (_place > -1)
            {
                string[] letters = new string[] {
                    "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M",
                    "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"
                };

                menuSelection.AddSetting("letter 1", letters);
                menuSelection.AddSetting("letter 2", letters);
                menuSelection.AddSetting("letter 3", letters);
            }

            menuSelection.AddPick("back");
        }
예제 #4
0
 protected override void SetupMenuSelection(MenuSelections menuSelection)
 {
     menuSelection.AddPick("back");
 }