Пример #1
0
 public void AddMoonByOrbitalSpeed(Moon moon, double speed, double coveredAngle)
 {
     RemoveMoon(moon.Name);
     this.Moons.Add(moon);
     moon.AttachToPlanet(this);
     Physics.EnterOrbitByGivenSpeed(ref moon, this, speed, coveredAngle);
 }
Пример #2
0
 public void AddMoonByOrbitalRadius(Moon moon, double radius, double coveredAngle)
 {
     RemoveMoon(moon.Name);
     this.Moons.Add(moon);
     moon.AttachToPlanet(this);
     Physics.EnterOrbitByGivenRadius(ref moon, this, radius, coveredAngle);
 }
Пример #3
0
 public void AddMoonNOTORBITALSAFE(Moon moon)
 {
     RemoveMoon(moon.Name);
     this.Moons.Add(moon);
     moon.AttachToPlanet(this);
 }