public void SetSystem(IEnumerable <SatelliteBody> planets)
        {
            if (planets == null || planets.ElementAt(0) == null)
            {
                return;
            }

            var star = planets.ElementAt(0).Parent as StellarBody;

            var labels = new List <string>()
            {
                "Star Age:",
                "Star Luminosity:",
                "Star Mass:",
                "Planets:"
            };

            var values = new List <string>()
            {
                StarText.GetAgeStringYearsSciN(star),
                StarText.GetLuminosityPercent(star),
                StarText.GetMassPercent(star),
                planets.Count().ToString()
            };

            SetText(labels, values);
        }
        public static string GetSystemText(IEnumerable <SatelliteBody> planets)
        {
            var sb  = new StringBuilder();
            var sun = planets.ElementAt(0).StellarBody;

            sb.AppendLine(StarText.GetFullStarTextRelative(sun, true));
            sb.AppendLine();

            foreach (var p in planets)
            {
                sb.AppendLine(GetPlanetText(p));
                sb.AppendLine();
                sb.AppendLine();
            }
            return(sb.ToString());
        }