Пример #1
0
        public void ReturnPlanet(Planet planet)
        {
            if (planets.Remove(planet))
            {
                if (listener != null)
                {
                    listener.OnPlanetReturned(planet);
                }

                universeFactory.ReturnPlanet(planet);
            }
        }