// Повороты фигур public void RotateShape() { Figure = GetRotateShape(); int offset = GameForm.MAP_WIDTH - (X + Figure.GetLength(0)); if (offset < 0) { X += offset; } if (X < 0) { X = 0; } CalcRealSizes(); }