void LeaveOnGround() { int colorNumber = Figure.FindColor(figure.color); foreach (Block block in figure.blocks) { //colorNumber - number in Figure.colors gameboard[block.y][block.x] = colorNumber; rows[block.y]++; } }