Ejemplo n.º 1
0
 public Planet CreatePlanet(double orbitRadius, double orbitPosition)
 {
     Planet p = new Planet(this, orbitRadius, orbitPosition);
     planets.Add(p);
     return p;
 }
Ejemplo n.º 2
0
 public Planet CreatePlanet()
 {
     Planet p = new Planet(this);
     planets.Add(p);
     return p;
 }