RogueSharp
Show / Hide Table of Contents

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 Source

Parse(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

  • Improve this Doc
  • View Source
RogueSharp © 2014-2020 Faron Bracy
Back to top