public Body(IUpdatableGroup <IBody> parent, string name, ILocation location, long mass) { Parent = parent; Name = name; Location = location; Mass = mass; }
public AsteroidBelt(IUpdatableGroup <IBody> parent, ILocation center, string name, Distance innerRange, Distance outerRange) { Parent = parent; Center = center; Name = name; InnerRange = innerRange; OuterRange = outerRange; _members = new ConcurrentBag <IBody>(); }
public Planet(IUpdatableGroup <IBody> parent, string name, ILocation location, long mass) : base(parent, name, location, mass) { _members = new ConcurrentBag <IBody>(); }
public Asteroid(string name, ILocation location, long mass, IUpdatableGroup <IBody> parent) : base(parent, name, location, mass) { }