Exemple #1
0
 public static void closeHelpBox()
 {
     if (helpBox != null)
     {
         helpBox.Close();
         helpBox = null;
     }
 }
Exemple #2
0
 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;
 }