Esempio n. 1
0
 public Body(IUpdatableGroup <IBody> parent, string name, ILocation location, long mass)
 {
     Parent   = parent;
     Name     = name;
     Location = location;
     Mass     = mass;
 }
Esempio n. 2
0
        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>();
        }
Esempio n. 3
0
 public Planet(IUpdatableGroup <IBody> parent, string name, ILocation location, long mass)
     : base(parent, name, location, mass)
 {
     _members = new ConcurrentBag <IBody>();
 }
Esempio n. 4
0
 public Asteroid(string name, ILocation location, long mass, IUpdatableGroup <IBody> parent) :
     base(parent, name, location, mass)
 {
 }