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

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

public DrawScreen ( ) : void
Результат void
        public void DrawScreen()
        {
            for (int i = 0; i < _gameMain.ScreenWidth; i += (int)_nebulaBackground.Width)
            {
                for (int j = 0; j < _gameMain.ScreenHeight; j += (int)_nebulaBackground.Height)
                {
                    _nebulaBackground.Draw(i, j);
                }
            }
            _background.Draw();
            _playerBackground.Draw();
            _playerInfoBackground.Draw();
            for (int i = 0; i < _playerLabels.Length; i++)
            {
                _playerLabels[i].Draw();
            }
            _playerRaceButton.Draw();
            _raceSprites[0].Draw(_xPos + 350, _yPos + 51);
            _playerRaceDescription.Draw();
            _playerEmperorName.Draw();
            _playerHomeworldName.Draw();

            _AIBackground.Draw();
            _difficultyLabel.Draw();

            _numberOfAILabel.Draw();
            _numericUpDownAI.Draw();
            for (int i = 0; i < _numericUpDownAI.Value; i++)
            {
                _AIRaceButtons[i].Draw();
                _raceSprites[i + 1].Draw(_xPos + 51 + (i * 155), _yPos + 271);
            }

            _galaxyBackground.Draw();
            //if (GameConfiguration.AllowGalaxyPreview)
            {
                DrawGalaxyPreview();
            }

            _okButton.Draw();
            _cancelButton.Draw();

            //Comboboxes should be drawn last, due to their "drop-down" feature
            _galaxyComboBox.Draw();
            _difficultyComboBox.Draw();

            if (_showingSelection)
            {
                _raceSelection.Draw();
            }
            if (_generatingGalaxy)
            {
                _busyImage.Draw();
                _busyText.Draw();
            }
        }