public IEnumerable <uint> RollMany(DieEnum dice, uint diceCount) { for (int i = 0; i < diceCount; i++) { yield return(this.Roll(dice)); } }
public DieRollDescriptor(int dieCount, DieEnum d8) { this._dieCount = dieCount; this._d8 = d8; }
public uint Roll(DieEnum dice) { return((uint)this._rnd.NextInt(1, (int)dice)); }