public FormationZone(Range incoming, int parentID) { this.segments = new List<FormationSegment>(); this.segments.Add(new FormationSegment(parentID, incoming)); this.parentID = parentID; this.ourOrbits = new List<double>(); }
//copy constructor public Range(Range incoming) { /* if (incoming.upperBound < this.lowerBound) throw new Exception("Invalid argument: higher bound is lower than the lower bound"); if (this.upperBound == this.lowerBound) throw new Exception("Invalid argument: Both range endpoints are the same number"); */ this.lowerBound = incoming.lowerBound; this.upperBound = incoming.upperBound; this.length = incoming.length; }
public cleanZone(Range incoming, int ownership, int orbitDesc) : base(incoming) { this.ownershipFlag = ownership; this.orbitDesc = orbitDesc; }