Beyond_Beyaan.EmpireManager.CheckExploredSystems C# (CSharp) Метод

CheckExploredSystems() публичный Метод

public CheckExploredSystems ( Galaxy galaxy ) : List>.Dictionary
galaxy Galaxy
Результат List>.Dictionary
        public Dictionary<Empire, List<StarSystem>> CheckExploredSystems(Galaxy galaxy)
        {
            Dictionary<Empire, List<StarSystem>> exploredSystems = new Dictionary<Empire, List<StarSystem>>();
            foreach (Empire empire in _empires)
            {
                List<StarSystem> temp = empire.CheckExploredSystems(galaxy);
                if (empire.Type == PlayerType.HUMAN && temp.Count > 0)
                {
                    exploredSystems.Add(empire, temp);
                }
            }
            return exploredSystems;
        }