Exemple #1
0
        public void QuickDrop()
        {
            while (_current.CanMoveDown(_grid))
            {
                _current.MoveDown();
            }

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

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

            return(ghost);
        }