private void MoveToCenter(GuiElement elem)
 {
     elem.move(new Point(MaxOfEmpires.ScreenSize.X / 2 - elem.Bounds.Width / 2, elem.Bounds.Y));
 }