예제 #1
0
 private void setDualWinCount(Player person1, Player person2)
 {
     if (player1win)
     {
         person1.SetWinCount(1);
     }
     else if (player2win)
     {
         person2.SetWinCount(1);
     }
 }
예제 #2
0
 private int SetCompWinResults(Player person1, int compWinCount)
 {
     if (player1win)
     {
         person1.SetWinCount(1);
     }
     else if (player2win)
     {
         compWinCount += 1;
     }
     return(compWinCount);
 }