Esempio n. 1
0
 public override void AddCelestialObject(Orbitable child)
 {
     _parent.AddCelestialObject(child);
 }
Esempio n. 2
0
 protected Orbitable(CelestialObject parent)
 {
     _parent = parent;
     _parent.AddCelestialObject(this);
 }
Esempio n. 3
0
 protected Orbitable(CelestialObject parent, string name) : base(name)
 {
     _parent = parent;
     _parent.AddCelestialObject(this);
 }