Ejemplo n.º 1
0
 public static bool AgencyCreate(string Name, string Money, string Billboards, int Strategy)
 {
     int Mon = 0, Bb = 0;
       if (Name != null && Name != "")
     if (int.TryParse(Money, out Mon) && int.TryParse(Billboards, out Bb) && Mon > 0 && Bb > 0)
     {
       Agency = new MainStructures.Agency(Name, Mon, Bb, (MainStructures.Strategies)Strategy);
       return true;
     }
     else
       return false;
       return false;
 }
Ejemplo n.º 2
0
 public static void MainReset()
 {
     Agency = null;
       City = null;
       CurrentDate = new DateTime(1970, 1, 1);
 }
Ejemplo n.º 3
0
 public static void AgencyDestroy()
 {
     Agency = null;
 }