public override void Draw() { base.Draw(); _name.Draw(); if (_isExplored) { _currentSystem.Planets[0].SmallSprite.Draw(_xPos + 10, _yPos + 60); _popLabel.Draw(); _terrainLabel.Draw(); if (_isOwnedSystem) { if (IsTransferring) { _generalPurposeBackground.Draw(); _generalPurposeText.Draw(); _popTransferSlider.Draw(); _transferLabel.Draw(); _transferToButton.Draw(); _transferToButton.DrawToolTip(); } else if (IsRelocating) { _generalPurposeBackground.Draw(); _generalPurposeText.Draw(); _relocateToButton.Draw(); _relocateToButton.DrawToolTip(); } else { _productionLabel.Draw(); _infrastructureBackground.Draw(); _researchBackground.Draw(); _environmentBackground.Draw(); _defenseBackground.Draw(); _constructionProjectButton.Draw(); _infrastructureIcon.Draw(_xPos + 20, _yPos + 140); _researchIcon.Draw(_xPos + 20, _yPos + 200); _environmentIcon.Draw(_xPos + 20, _yPos + 260); _defenseIcon.Draw(_xPos + 20, _yPos + 320); _constructionIcon.Draw(_xPos + 20, _yPos + 380); _infrastructureLabel.Draw(); _infrastructureSlider.Draw(); _infrastructureLockButton.Draw(); _researchLabel.Draw(); _researchSlider.Draw(); _researchLockButton.Draw(); _environmentLabel.Draw(); _environmentSlider.Draw(); _environmentLockButton.Draw(); _defenseLabel.Draw(); _defenseSlider.Draw(); _defenseLockButton.Draw(); _constructionLabel.Draw(); _constructionSlider.Draw(); _constructionLockButton.Draw(); _relocateToButton.Draw(); _transferToButton.Draw(); _relocateToButton.DrawToolTip(); _transferToButton.DrawToolTip(); if (_currentSystem.Planets[0].TransferSystem.Key.StarSystem != null) { _transferLabel.Draw(); } } } else { _generalPurposeBackground.Draw(); _generalPurposeText.Draw(); } } else { _generalPurposeBackground.Draw(); _generalPurposeText.Draw(); } }