Show / Hide Table of Contents

Interface ITerm

Interface for a term of a dice expression that can be evaluated.

Namespace: GoRogue.DiceNotation.Terms
Assembly: GoRogue.dll
Syntax
public interface ITerm

Methods

View Source

GetResult(IEnhancedRandom)

Evaluates the term and returns the result.

Declaration
int GetResult(IEnhancedRandom rng)
Parameters
Type Name Description
IEnhancedRandom rng

The rng to use.

Returns
Type Description
int

The result of evaluating the term.

Extension Methods

Utility.Yield<T>(T)
  • View Source
In this article
Back to top Generated by DocFX