Пример #1
0
        public static void Show(SubMenu i_Menu)
        {
            int userChoice = -1;

            while (!userChoice.Equals(k_ExitOrBack))
            {
                userChoice = UserInteraction.printManager(i_Menu);

                if (!userChoice.Equals(k_ExitOrBack))
                {
                    i_Menu.MenuNodes[userChoice - k_MenuOffset].OnClick();
                }
            }
        }
Пример #2
0
 public void Show()
 {
     UserInteraction.Show(m_ListOfMenuNodes);
 }
Пример #3
0
 public override void OnClick()
 {
     UserInteraction.Show(this);
 }