Example #1
0
 public void AttachToPlanet(Planet planet)
 {
     this.DetachFromPlanet();
     this.Planet          = planet;
     this.PlanetarySystem = planet.PlanetarySystem;
 }
Example #2
0
 public Planet(Planet planet)
     : this(planet.Center, planet.Mass, planet.Radius, planet.Velocity, planet.Name)
 {
 }
Example #3
0
 // Methods
 public void DetachFromPlanet()
 {
     this._planet = null;
 }