/// <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; }
/// <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; }