Ejemplo n.º 1
0
        /// <summary>
        /// Undo points of last dart from player
        /// </summary>
        /// <returns>true if undo is possible for current round, otherwise false</returns>
        public void Undo()
        {
            int pointsToUndo = CurrentRound.Undo();

            mCurrentPoints = mCurrentPoints + pointsToUndo;
            DecreaseCurrentRoundIfPossible();
        }