Beyond_Beyaan.Screens.ShipDesignScreen.Draw C# (CSharp) Метод

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

public Draw ( ) : void
Результат void
        public override void Draw()
        {
            base.Draw();
            _shipStyleBackground.Draw();
            foreach (var button in _shipSizeButtons)
            {
                button.Draw();
            }
            _prevShipStyleButton.Draw();
            _nextShipStyleButton.Draw();
            GorgonLibrary.Gorgon.CurrentShader = _gameMain.ShipShader;
            _gameMain.ShipShader.Parameters["EmpireColor"].SetValue(_gameMain.EmpireManager.CurrentEmpire.ConvertedColor);
            _shipSprite.Draw(_xPos + 125, _yPos + 485);
            GorgonLibrary.Gorgon.CurrentShader = null;
            _engineBackground.Draw();
            _engineButton.Draw();
            _maneuverButton.Draw();
            _engineSpeed.Draw();
            _combatSpeed.Draw();
            _costPerPowerLabel.Draw();
            _spacePerPowerLabel.Draw();
            _defenseRating.Draw();
            _defensiveEquipmentBackground.Draw();
            _armorButton.Draw();
            _shieldButton.Draw();
            _ECMButton.Draw();
            _hitPointsLabel.Draw();
            _absorbtionLabel.Draw();
            _missileDefenseLabel.Draw();
            _computerBackground.Draw();
            _computerButton.Draw();
            _attackRating.Draw();
            _weaponsBackground.Draw();
            for (int i = 0; i < _weaponButtons.Length; i++)
            {
                _weaponButtons[i].Draw();
                _weaponCountLabels[i].Draw();
                _weaponCounts[i].Draw();
                _weaponDescriptions[i].Draw();
            }
            _specialsBackground.Draw();
            for (int i = 0; i < 3; i++)
            {
                _specialButtons[i].Draw();
                _specialDescriptions[i].Draw();
            }
            _statsBackground.Draw();
            _costLabel.Draw();
            _spaceLabel.Draw();
            _nameField.Draw();
            _clearButton.Draw();
            _confirmButton.Draw();
            _clearButton.DrawToolTip();
            _confirmButton.DrawToolTip();

            if (_selectionShowing)
            {
                _equipmentSelection.Draw();
            }
            else if (_fleetSpecsShowing)
            {
                _fleetSpecsWindow.Draw();
            }
        }