public override void Apply(IPlayerHandInformation[] infos) { m_Ranked.Clear(); m_FirstPairRanking.Apply(infos); if (m_FirstPairRanking.Winner == WinnerStatus.SingleWinner) { Winner = m_FirstPairRanking.Winner; m_Ranked.AddRange(m_FirstPairRanking.Ranked); return; } m_SecondPairRanking.Apply(infos); if (m_SecondPairRanking.Winner == WinnerStatus.SingleWinner) { Winner = m_SecondPairRanking.Winner; m_Ranked.AddRange(m_SecondPairRanking.Ranked); return; } m_HighCardRanking.Apply(infos); Winner = m_HighCardRanking.Winner; m_Ranked.AddRange(m_HighCardRanking.Ranked); }
public override void Apply(IPlayerHandInformation[] infos) { m_Ranked.Clear(); m_HighCardRanking.Apply(infos); m_Ranked.AddRange(m_HighCardRanking.Ranked); Winner = m_HighCardRanking.Winner; }