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