예제 #1
0
 public void RemovePlanet(Planet planet)
 {
     planet.Remove();
     planets.Remove(planet);
     systemSize -= 1;
 }
예제 #2
0
 public void AddPlanet(Planet planet)
 {
     planet.System = this;
     planets.Add(planet);
     systemSize += 1;
 }