public override void Draw()
{
base.Draw();
for (int i = 0; i < _maxVisible; i++)
{
_shipBackgrounds[i].Draw();
_shipNameLabels[i].Draw();
_scrapButtons[i].Draw();
_beamBackgrounds[i].Draw();
_beamDefLabels[i].Draw();
_beamDefValueLabels[i].Draw();
_missileBackgrounds[i].Draw();
_missileDefLabels[i].Draw();
_missileDefValueLabels[i].Draw();
_attackBackgrounds[i].Draw();
_attackLevelLabels[i].Draw();
_attackLevelValueLabels[i].Draw();
_hitPointsBackgrounds[i].Draw();
_hitPointsLabels[i].Draw();
_hitPointsValueLabels[i].Draw();
_shieldBackgrounds[i].Draw();
_shieldLabels[i].Draw();
_shieldValueLabels[i].Draw();
_galaxySpeedBackgrounds[i].Draw();
_galaxySpeedLabels[i].Draw();
_galaxySpeedValueLabels[i].Draw();
_combatSpeedBackgrounds[i].Draw();
_combatSpeedLabels[i].Draw();
_combatSpeedValueLabels[i].Draw();
_weaponsBackgrounds[i].Draw();
_specialsBackgrounds[i].Draw();
for (int j = 0; j < 4; j++)
{
_weaponLabels[i][j].Draw();
}
for (int j = 0; j < 3; j++)
{
_specialLabels[i][j].Draw();
}
_amountLabels[i].Draw();
_amountValueLabels[i].Draw();
_costLabels[i].Draw();
_costValueLabels[i].Draw();
}
if (_previewVisible)
{
_shipBackground.Draw();
GorgonLibrary.Gorgon.CurrentShader = _gameMain.ShipShader;
_gameMain.ShipShader.Parameters["EmpireColor"].SetValue(_empireColor);
_shipSprite.Draw(_shipPoint.X, _shipPoint.Y);
GorgonLibrary.Gorgon.CurrentShader = null;
}
}