Interface IDiceParser
The DiceParser interface can be implemented to parse a string into a DiceExpression
Namespace: RogueSharp.DiceNotation
Assembly: RogueSharp.dll
Syntax
public interface IDiceParser
Methods
| Improve this Doc View SourceParse(String)
Create a new DiceExpression by parsing the specified string
Declaration
DiceExpression Parse(string expression)
Parameters
Type | Name | Description |
---|---|---|
System.String | expression | A dice notation string expression. Ex. 3d6+3 |
Returns
Type | Description |
---|---|
DiceExpression | A DiceExpression parsed from the specified string |