예제 #1
0
        /// <summary>
        /// Roll the dices
        /// </summary>
        /// <returns></returns>
        public int Roll()
        {
            var rcr = new RngCryptoRandom(true);

            ResultRoll = Dices.Aggregate(0, (current, c) => current += c.Roll(rcr));

            return(ResultRoll);
        }