示例#1
0
        private void EndGame(int i_winner)
        {
            int gameScore = m_GameBoard.Scoring(i_winner);

            if (i_winner == 0)
            {
                m_PlayerOne.AddPoints(gameScore);
            }
            else
            {
                m_PlayerTwo.AddPoints(gameScore);
            }
            StartNewGame();
        }