public override void Draw()
{
base.Draw();
_empireBackground.Draw();
_empireNameLabel.Draw();
_previousFleet.Draw();
_nextFleet.Draw();
for (int i = 0; i < _maxVisible; i++)
{
_shipBackground[i].Draw();
_shipLabels[i].Draw();
if (!_isTransports)
{
_shipSliders[i].Draw();
}
}
if (_showingPreview)
{
_shipPreview.Draw();
GorgonLibrary.Gorgon.CurrentShader = _gameMain.ShipShader;
_gameMain.ShipShader.Parameters["EmpireColor"].SetValue(_empireColor);
_shipSprite.Draw(_shipPoint.X, _shipPoint.Y);
GorgonLibrary.Gorgon.CurrentShader = null;
}
}