Пример #1
0
 /// <summary> Performs a specified amount of rolls of the entire chain and returns their values. </summary>
 /// <param name="count">The chain roll count.</param>
 /// <returns> Entire chain roll values. </returns>
 /// <remarks> Business as usual with generated enumerations: keep in mind that it will regenerate roll values
 /// every time you enumerate, so call something like '.ToArray()' when you want to keep previous values.
 /// </remarks>
 public IEnumerable <double> Roll(int count)
 {
     return(LastLink.Roll(count));
 }
Пример #2
0
 /// <summary> Performs a single roll of the entire chain and returns its value. </summary>
 /// <returns> Entire chain roll value. </returns>
 public double Roll()
 {
     return(LastLink.Roll());
 }