static void Main(string[] args) { Console.WriteLine("Loading..."); SystemFactory systemFactory = new SystemFactory(true); StellarSystem stellarSystem = systemFactory.GetStellarSystem(); foreach (APhysicalObject star in stellarSystem.Bodies) { Console.WriteLine(star); } /* * TimeSpan timeOffset = new TimeSpan(365, 0, 0, 0, 0); * //Printer<Orbit>.PrintHeader("orbitRecord.csv", stellarSystem.Orbits[0]); * * List<Orbit> orbitalStates = new List<Orbit>(); * * int max = 3000; * for (int i = 0; i < max; i++) * { * stellarSystem.Orbits[0].UpdateTime(timeOffset); * orbitalStates.Add((Orbit)stellarSystem.Orbits[0].Clone()); * Console.WriteLine($"{i}/{max}"); * } * Printer<Orbit>.PrintTable("orbitRecord.csv", orbitalStates); * Console.WriteLine($"{stellarSystem.Orbits[0].OrbitalPeriod / (24 * 60 * 60 * 365)} years"); */ Console.WriteLine("Finished..."); Console.ReadLine(); }