Example #1
0
File: Orbit.cs Project: 602p/krpc
 internal Orbit(global::CelestialBody body)
 {
     if (body == body.referenceBody)
         throw new ArgumentException ("Body does not orbit anything");
     InternalOrbit = body.GetOrbit ();
 }
Example #2
0
File: Orbit.cs Project: 602p/krpc
 internal Orbit(global::Vessel vessel)
 {
     InternalOrbit = vessel.GetOrbit ();
 }