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(); }
//private void NotifyStateChanged() => OnChangeComponentTitle?.Invoke(); private void NotifyStateChanged() { OnChangeComponentTitle?.Invoke(); OnChangeMenu?.Invoke(); }