Esempio n. 1
0
 private void SetCompMatchWinner(Player person1, double bestOfLimit)
 {
     if (person1.GetWinCount() == bestOfLimit)
     {
         person1.SetWinner();
     }
 }
Esempio n. 2
0
 private void setDualWinner(Player person1, Player person2, double bestOfLimit)
 {
     if (person1.GetWinCount() == bestOfLimit)
     {
         person1.SetWinner();
     }
     else
     {
         person2.SetWinner();
     }
 }