Пример #1
0
 public static void GoToHelpPage(string player1Name, string player2Name, int playerCount)
 {
     player1 = player1Name;
     player2 = player2Name;
     player  = playerCount;
     HelpPage.DisplayHelpMenu();
 }
Пример #2
0
        public static void NavigateFromHelpPage(int userSelection)
        {
            if (userSelection != 0)
            {
                switch (userSelection)
                {
                case 1:
                    HelpPage.DisplayHelpMenu();
                    break;

                case 2:
                    GameBoard.NewGame(player1, player2, player);
                    break;
                }
            }
        }