Exemplo n.º 1
0
        public void QuickDrop()
        {
            while (_current.CanMoveDown(_grid))
            {
                _current.MoveDown();
            }

            _lastWasRotate = false;
            ResetBlockData();
        }
Exemplo n.º 2
0
        public Block GetGhostBlock(Color?[,] grid)
        {
            Block ghost = new Block(gridLayout, _color, _xLocation, _yLocation, _letter);

            while (ghost.CanMoveDown(grid))
            {
                ghost.MoveDown();
            }

            return(ghost);
        }