Declared in SolarSystem

Declaration

CelestialBody GetBody(
    string name
);

Description

Attempts to find a celestial body if it exists. If it does not exists, it will create the celestial body from the name that is passed in.

Parameters

NameDescription
nameThe name of the body to create or find