public void OnBlocksCleared(GamePane pane, int blockCount, int lineCount)
        {
            GamePane otherPane = GetOtherPane(pane);

            if (lineCount > 1)
            {
                otherPane.DropHardLine();
            }
            if (blockCount >= 5)
            {
                pane.DecreaseSpeed();
            }
            if (blockCount >= 8)
            {
                otherPane.IncreaseSpeed();
            }
        }
        public override void OnActionTriggered(InputAction action)
        {
            switch (action)
            {
            case InputAction.Cancel:
                Game.GameScreen = new MainMenu(Game);
                break;

            case InputAction.Left:
                leftPane.MoveCursorLeft();
                break;

            case InputAction.Right:
                leftPane.MoveCursorRight();
                break;

            case InputAction.Up:
                leftPane.MoveCursorUp();
                break;

            case InputAction.Down:
                leftPane.MoveCursorDown();
                break;

            case InputAction.ExchangeBlock:
                leftPane.PerformExchange();
                break;

            case InputAction.RequestLine:
                leftPane.FastScrollMode = true;
                break;

            case InputAction.DebugAction1:
                leftPane.DropHardLine();
                break;
            }
        }