Constructor
new Result(notation, value, rolls)
- Source:
- Since:
- v2.0.0
- See:
A class that represents a dice roll result
Parameters:
| Name | Type | Description |
|---|---|---|
notation |
String | A roll notation |
value |
Number | A numeric representation of roll result, like total summ or success count |
rolls |
Array | An array of rolls dome |