Пример #1
0
 public static void Process()
 {
     string temp = "Счет: " + AIUnits.Score.ToString() + '\n';
     temp += "Минералы: " + AIUnits.Minerals.ToString() + '\n';
     temp += "Земля: " + AIUnits.GetEarthHP().ToString() + '\n';
     LabStats.Name = temp;
     LabCurrentPrice.Name = CurrentStructureInfo;
     if (IsShow)
     {
         ObjSelected = AIUnits.CheckObject();
         if (ObjSelected != null)
         {
             LabFirstInfo.Name = ObjSelected.FirstInfo;
             LabSecondInfo.Name = ObjSelected.Name + '\n' + ObjSelected.SecondInfo;
         }
         else
         {
             Skip();
         }
     }
 }
Пример #2
0
 public static void ObjectIsSelected(TransInfo obj)
 {
     IsShow = true;
     ObjSelected = obj;
 }