Пример #1
0
        private void OnNewGameReceived(int[] numbers)
        {
            for (int i = 0; i < BoardView.LeftStackPosition; ++i)
            {
                view.AddNewCardTo(i, numbers[i]);
            }

            for (int i = BoardView.RightStackPosition + 1; i < numbers.Length; ++i)
            {
                view.AddNewCardTo(i, numbers[i]);
            }

            _screenManager.HideSpinner();

            view.StartCountdown(() =>
            {
                view.UnblockMiddleCards(
                    numbers[BoardView.LeftStackPosition],
                    numbers[BoardView.RightStackPosition]);
            });
        }