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; }
public static void MainReset() { Agency = null; City = null; CurrentDate = new DateTime(1970, 1, 1); }
public static void AgencyDestroy() { Agency = null; }