Protractor.ProtractorData.getbodies C# (CSharp) Метод

getbodies() публичный Метод

public getbodies ( ) : void
Результат void
        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));
                }
            }
        }