Beyond_Beyaan.Screens.NewGame.SetUpGalaxy C# (CSharp) Метод

SetUpGalaxy() приватный Метод

private SetUpGalaxy ( ) : void
Результат void
        private void SetUpGalaxy()
        {
            _generatingGalaxy = true;
            _busyText.MoveTo((int)((_gameMain.ScreenWidth / 2.0f) - (_busyText.GetWidth() / 2)), (int)((_gameMain.ScreenHeight / 2.0f) - (_busyText.GetHeight() / 2)));
            _gameMain.Galaxy.OnGenerateComplete += OnGalaxyGeneratedThenPlayerStart;
            string reason;
            if (!_gameMain.Galaxy.GenerateGalaxy((GALAXYTYPE)_galaxyComboBox.SelectedIndex, 1, 1, _gameMain.Random, out reason))
            {
                _generatingGalaxy = false;
            }
        }