Example #1
0
 /// <summary>
 /// Constructor. Takes a term representing the number of dice to keep, and the dice term to
 /// operate on.
 /// </summary>
 /// <param name="keep">Term representing the number of dice to keep.</param>
 /// <param name="diceTerm">The dice term to operate on.</param>
 public KeepTerm(ITerm keep, DiceTerm diceTerm)
 {
     this.diceTerm = diceTerm;
     this.keep     = keep;
 }
Example #2
0
 /// <summary>
 /// Constructor. Takes a term representing the number of dice to keep, and the dice term to
 /// operate on.
 /// </summary>
 /// <param name="keep">Term representing the number of dice to keep.</param>
 /// <param name="diceTerm">The dice term to operate on.</param>
 public KeepTerm(ITerm keep, DiceTerm diceTerm)
 {
     DiceTerm = diceTerm;
     Keep     = keep;
 }