public static void closeHelpBox() { if (helpBox != null) { helpBox.Close(); helpBox = null; } }
public static void openHelpBox(int buildingType) { if ((helpBox == null) || !helpBox.Visible) { helpBox = new CapitalHelpBox(); } helpBox.init(buildingType); helpBox.Show(); helpBox.TopMost = true; helpBox.TopMost = false; }