예제 #1
0
 public SurfaceComposition()
 {
     Presence           = new Percent();
     Acidity            = new Percent();
     WaterPresence      = new Percent();
     Volcanic           = new Percent();
     Organic            = new Percent();
     Hospitable         = new Percent();
     SignificantAlbedae = new List <Color>();
 }
예제 #2
0
 public FreeBody(FreeBody source)
 {
     Name  = source.Name;
     Notes = source.Notes;
     GalacticCoordinate = new Coordinate(source.GalacticCoordinate);
     Radiation          = new Percent(source.Radiation);
     RotationsPerYear   = source.RotationsPerYear;
     Axis = new Coordinate(source.Axis);
     CelestialContexts = new List <CelestialBody>();
 }
예제 #3
0
        public FreeBody()
        {
            GalacticCoordinate = new Coordinate();
            Radiation          = new Percent();
            Axis              = new Coordinate();
            Notes             = "";
            CelestialContexts = new List <CelestialBody>();

            Name = "Unnamed";
        }
예제 #4
0
        public AtmosphericComposition()
        {
            Presence          = new Percent();
            CommonThickness   = new Distance();
            CommonTemperature = new Temperature();
            Ammonia           = new Percent();
            Nitrogen          = new Percent();
            Hydrogen          = new Percent();

            SignificantAlbedae = new List <Color>();
        }
예제 #5
0
        public SurfaceComposition(SurfaceComposition source)
        {
            Presence      = new Percent(source.Presence);
            Acidity       = new Percent(source.Acidity);
            WaterPresence = new Percent(source.WaterPresence);
            Volcanic      = new Percent(source.Volcanic);
            Organic       = new Percent(source.Organic);
            Hospitable    = new Percent(source.Hospitable);

            SignificantAlbedae = source.SignificantAlbedae.ToList();
        }
예제 #6
0
        public Economy(Economy source)
        {
            Agricultural  = new Percent(source.Agricultural);
            Industrial    = new Percent(source.Industrial);
            Technological = new Percent(source.Technological);
            Weaponry      = new Percent(source.Weaponry);
            Medical       = new Percent(source.Medical);
            Energy        = new Percent(source.Energy);

            Exports = source.Exports.Select(e => new MajorExport(e)).ToList();
            Imports = source.Imports.Select(e => new MajorImport(e)).ToList();
        }
예제 #7
0
        //  Mostly X,Y,Z, exports A,B,C (top 3 of each)
        public Economy()
        {
            Agricultural  = new Percent();
            Industrial    = new Percent();
            Technological = new Percent();
            Weaponry      = new Percent();
            Medical       = new Percent();
            Energy        = new Percent();

            Exports = new List <MajorExport>();
            Imports = new List <MajorImport>();
        }
예제 #8
0
        public AtmosphericComposition(AtmosphericComposition source)
        {
            Presence          = new Percent(source.Presence);
            CommonThickness   = new Distance(source.CommonThickness);
            CommonPressure    = source.CommonPressure;
            CommonTemperature = new Temperature(source.CommonTemperature);
            CommonDensity     = source.CommonDensity;
            Ammonia           = new Percent(source.Ammonia);
            Nitrogen          = new Percent(source.Nitrogen);
            Hydrogen          = new Percent(source.Hydrogen);

            SignificantAlbedae = source.SignificantAlbedae.ToList();
        }
예제 #9
0
        public CelestialBody(CelestialBody source)
        {
            OrbitalAxis    = new Coordinate(source.OrbitalAxis);
            CenterDistance = new Distance(source.CenterDistance);
            Regularity     = new Percent(source.Regularity);

            if (source.Frame != null)
            {
                SetFrame(source.Frame);
            }
            else
            {
                SetFrame(source.FrameId);
            }

            if (source.Body != null)
            {
                SetBody(source.Body);
            }
            else
            {
                SetBody(source.BodyId);
            }
        }
예제 #10
0
 public Faction(Faction source)
 {
     Organization = source.Organization;
     Presence     = new Percent(source.Presence);
 }
예제 #11
0
 public Faction()
 {
     Presence = new Percent();
 }
예제 #12
0
 public Percent(Percent source)
 {
     Value = source.Value;
 }