Ejemplo n.º 1
0
        private void Block_ArrivedAtBottom()
        {
            View.Score = View.Score + incrementScore.X;
            board.CheckFullLines();

            block = new Block(blocks[IndexOfNextBlock], StartPoint, board);
            if (block.Over()==true)
            {
                GameOver(this,EventArgs.Empty);
            }
            else
            {
                IndexOfNextBlock++;
                ShowNextBlock();

                Speed = defaultSpeed;
            }
        }