Exemple #1
0
        public void Next(string answer)
        {
            int i = _currentParagraph.NextParagraphId(answer);

            if (i >= 0)
            {
                _history.AddInAlreadyRead(_currentParagraph.Id);
                _history.AddInHistory(i);
                _currentParagraph = _book[i];
                CurrentParagraphChanged?.Invoke(this, new EventArgs());
            }
        }