Exemple #1
0
        public void DrowNextFigure(Figure figure, int level)//рисует следующую фигуру справа и упровни
        {
            int x = figure.PositionOnFildX, y = figure.PositionOnFildY;

            figure.PositionOnFildX = (staticCountRectX + distanceXForOutData);
            figure.PositionOnFildY = (distanceYForOutData);
            figure.Draw();
            figure.PositionOnFildX = x; figure.PositionOnFildY = y;
            DrowingField.OutText(staticCountRectX + distanceXForOutData + 1, distanceYForOutData + 12, "Линии: " + countOfLines.ToString(), DrowingField.StaticSizeOfFigure);
            DrowingField.OutText(staticCountRectX + distanceXForOutData + 1, distanceYForOutData + 14, "Уровень: " + level.ToString(), DrowingField.StaticSizeOfFigure);
        }
Exemple #2
0
 public void ShowGameIsOver()
 {
     DrowingField.OutText(3, staticCountRectY / 2 + 4, "Game is over! ", DrowingField.StaticSizeOfFigure, 20);
 }