Пример #1
0
        public static void Load()
        {
            if (!Main.dedServ)
            {
                tacticsInterface = new UserInterface();

                tacticsUI        = new TacticsUIMain();
                buffClickCapture = new BuffRowClickCapture();
                tacticsUI.Activate();
                buffClickCapture.Activate();
                UIState state = new UIState();
                state.Append(tacticsUI);
                state.Append(buffClickCapture);

                tacticsInterface.SetState(state);
            }
        }
Пример #2
0
 public static void Unload()
 {
     tacticsInterface = null;
     tacticsUI        = null;
     buffClickCapture = null;
 }