public void getbodies()
{
bodyList = null;
bodyList = new List<CelestialBody>(FlightGlobals.Bodies);
foreach (CelestialBody body in FlightGlobals.Bodies)
{
if (!celestials.ContainsKey(body.name))
{
celestials.Add(body.name, new CelestialData(body));
}
}
}