コード例 #1
0
        public MenuManager()
        {
            menu = new Menu(" Debugger", "debugger", true, "chaos_knight_reality_rift", true).SetFontColor(
                Color.PaleVioletRed);

            OnAddRemove        = new OnAddRemoveMenu(menu);
            OnChangeMenu       = new OnChangeMenu(menu);
            OnExecuteOrderMenu = new OnExecuteOrderMenu(menu);
            GameEventsMenu     = new GameEventsMenu(menu);
            DumpingMenu        = new DumpingMenu(menu);

            menu.AddToMainMenu();
        }
コード例 #2
0
        //private void NotifyStateChanged() => OnChangeComponentTitle?.Invoke();

        private void NotifyStateChanged()
        {
            OnChangeComponentTitle?.Invoke();
            OnChangeMenu?.Invoke();
        }