public ItemFight GetNextFight() { SignitureItem left = LeftGroup.TakeLastItem(); SignitureItem right = RightGroup.TakeLastItem(); return(new ItemFight(left, right, this)); }
internal void RightWins(ItemFight mergeSortFight) { _sortedItems.Add(mergeSortFight.Right); LeftGroup.ReturnItem(mergeSortFight.Left); PotentiallyComplete(); }