Example #1
0
        public bool cleanZoneHasOrbits(cleanZone clear)
        {
            foreach (Satellite s in this.sysPlanets)
            {
                if (clear.withinRange(s.orbitalRadius))
                {
                    return(true);
                }
            }

            return(false);
        }
 //copy constructor
 public cleanZone(cleanZone c)
     : base(c.lowerBound, c.upperBound)
 {
     this.ownershipFlag = c.ownershipFlag;
     this.orbitDesc     = c.orbitDesc;
 }
 //copy constructor
 public cleanZone(cleanZone c)
     : base(c.lowerBound, c.upperBound)
 {
     this.ownershipFlag = c.ownershipFlag;
     this.orbitDesc = c.orbitDesc;
 }