Пример #1
0
        public void addMenu(string menuName, IMenuType menuToAdd)
        {
            if (MenuNames.Contains(menuName))
            {
                return;
            }

            Menus.Add(menuName, menuToAdd);
            MenuNames.Push(menuName);
            CurrentMenu = menuToAdd;
        }
Пример #2
0
 public bool menuExists(string menuName) => MenuNames.Contains(menuName);