Wiki

Clone wiki

RogueSharp / RogueSharp.DiceNotation / DiceExpression / Die

DiceExpressionDie Method (Int32)

Add a single Die to this DiceExpression with the specified number of sides

Namespace: RogueSharp.DiceNotation
Assembly:

Syntax

public DiceExpression Die(
    int sides
)

Parameters

sides

Type: SystemInt32
The number of sides on the Die to add to this DiceExpression

Return Value

Type: DiceExpression
A DiceExpression representing the previous terms in this DiceExpression plus this newly added Die

See Also

Reference

DiceExpression Class
RogueSharp.DiceNotation Namespace

[3]: 2014-2016 Faron Bracy

Updated