Exemple #1
0
        public void ResetBlockData()
        {
            _lockDelay       = false;
            _swapped         = false;
            _lastWasMoveDown = false;
            _lastWasRotate   = false;
            _moveCount       = 0;

            if (ValidTSpin())
            {
                AddRows(4);
            }

            _current.AddTo(_grid);
            _current = _next;

            _next = RandomBlock();
            ClearRows();
        }