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); } }
public static void Unload() { tacticsInterface = null; tacticsUI = null; buffClickCapture = null; }