/// <inheritdoc /> protected override void OnHistoryValueDequeued() { bool match = HistoryMatches.Dequeue(); if (match) { Matches--; } }
/// <inheritdoc /> protected override void OnHistoryValueDequeued() { //Check if it was a match. bool match = HistoryMatches.Count > _neighbourOffset && HistoryMatches.ElementAt(_neighbourOffset); //Deuque. HistoryMatches.Dequeue(); if (match) { Matches--; } }