コード例 #1
0
 public RollResult(int result, DicePool rollParam, bool exploded = false, bool fromExplode = false, bool rerolled = false, bool fromReroll = false)
 {
     Result      = result;
     RollParam   = rollParam;
     Exploded    = exploded;
     FromExplode = fromExplode;
     Rerolled    = rerolled;
     FromReroll  = fromReroll;
 }
コード例 #2
0
 //<summary>Rolls a supplied pool of dice
 //</summary>
 //<param name="dicePool">The pool of dice to be rolled</param>
 public List <RollResult> Roll(DicePool dicePool)
 {
     return(Roll(dicePool.Count, dicePool.DieType));
 }