Module dice_roll

Source
Expand description

Provides access to the DiceRoll struct.

Structs§

DiceRoll
This struct represents the information required to calculate the result of a dice roll given the command string. Validating the sanity of each of the parameters is left to the user. e.g. The number of dice to roll could be 0.

Enums§

Operation
Represents whether a roll should be added or taken away from the total
RollType
Represents whether a roll has advantage, disadvantage, independence, or not.