Ejemplo n.º 1
0
        public bool WasCorrectlyAnswered()
        {
            if (mCurrentPlayer.IsInPenalty && !mIsGettingOutOfPenaltyBox)
            {
                NextPlayer();
                return(true);
            }

            mCurrentPlayer.CorrectAnswer();

            var winner = !mCurrentPlayer.Won;

            if (!winner)
            {
                mUi.PlayerWon(mCurrentPlayer.Name);
            }
            NextPlayer();

            return(winner);
        }