Exemple #1
0
 public override void MoveWindow()
 {
     base.MoveWindow();
     _name.MoveTo(_xPos + 10, _yPos + 15);
     _terrainLabel.MoveTo(_xPos + 55, _yPos + 60);
     _popLabel.MoveTo(_xPos + 55, _yPos + 80);
     _infrastructureBackground.MoveTo(_xPos + 10, _yPos + 130);
     _researchBackground.MoveTo(_xPos + 10, _yPos + 190);
     _environmentBackground.MoveTo(_xPos + 10, _yPos + 250);
     _defenseBackground.MoveTo(_xPos + 10, _yPos + 310);
     _constructionProjectButton.MoveTo(_xPos + 10, _yPos + 370);
     _productionLabel.MoveTo(_xPos + 55, _yPos + 100);
     _infrastructureLabel.MoveTo(_xPos + 65, _yPos + 140);
     _infrastructureSlider.MoveTo(_xPos + 65, _yPos + 160);
     _infrastructureLockButton.MoveTo(_xPos + 267, _yPos + 160);
     _researchLabel.MoveTo(_xPos + 65, _yPos + 200);
     _researchSlider.MoveTo(_xPos + 65, _yPos + 220);
     _researchLockButton.MoveTo(_xPos + 267, _yPos + 220);
     _environmentLabel.MoveTo(_xPos + 65, _yPos + 260);
     _environmentSlider.MoveTo(_xPos + 65, _yPos + 280);
     _environmentLockButton.MoveTo(_xPos + 267, _yPos + 280);
     _defenseLabel.MoveTo(_xPos + 65, _yPos + 320);
     _defenseSlider.MoveTo(_xPos + 65, _yPos + 340);
     _defenseLockButton.MoveTo(_xPos + 267, _yPos + 340);
     _constructionLabel.MoveTo(_xPos + 65, _yPos + 380);
     _constructionSlider.MoveTo(_xPos + 65, _yPos + 400);
     _constructionLockButton.MoveTo(_xPos + 267, _yPos + 400);
     if (IsRelocating)
     {
         _relocateToButton.MoveTo(_xPos + 215, _yPos + 435);
     }
     else
     {
         _relocateToButton.MoveTo(_xPos + 130, _yPos + 435);
     }
     _transferToButton.MoveTo(_xPos + 215, _yPos + 435);
 }