DieResult Constructor (SpecialDie)
From DiceRoller Documentation
Constructs a new DieResult corresponding to the given SpecialDie.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public DieResult(
SpecialDie specialDie
)
Parameters
- specialDie
- Type: Dice.SpecialDie
- The type of special die to create.
Remarks
This constructor initializes DieType to DieType.SpecialDie and sets SpecialDie equal to the passed-in specialDie. It is a convenience constructor versus doing these steps yourself.