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