Beispiel #1
0
        public void CreateNew()
        {
            _galaxyStarSystems = _galaxyGenerator.CreateGalaxy(GalaxySize.M, _logger);

            foreach (var starSystem in _galaxyStarSystems)
            {
                var sprite   = _starSpriteProvider.GetSprite(starSystem.StarClass);
                var drawable = new StarSystemDrawable(starSystem, sprite);

                _graphicsService.Add(drawable);
            }
        }