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