private void Build()
        {
            OrbitNum = ComOrbit();

            if (NumOrbits > (OrbitNum / 2))
            {
                NumOrbits = OrbitNum / 2;
            }

            if (OrbitNum == 0)
            {
                Orbits[0].OrbitalType = Orbit.OrbitType.UNAVAILABLE;
            }

            if (OrbitNum == FAR_ORBIT)
            {
                Range  = Common.d6() * 1000;
                SysNat = StarSystem.Nature(true);
                if (SysNat == StarSystem.SystemType.BINARY)
                {
                    NumCompanions = 1;
                    Companions.Add(new CompanionStar(_configuration));
                    AvaialbleOribits(0);
                }
            }
        }
示例#2
0
 public SystemInfo(Point mapLocation, StarSystem.SystemType type)
 {
     _mapLocation = mapLocation;
     _name        = "WMA " + _mapLocation.X + "." + _mapLocation.Y;
     _type        = type;
 }
示例#3
0
 public StarSystem(StarSystem.SystemType type)
 {
     _type = type;
 }