Module ezra::dice
[−]
[src]
A collection of tools to emulate dice and dice rolls.
Reexports
pub use self::numeric_die::NumericDie; |
pub use self::value_die::ValueDie; |
pub use self::dice_collection::DiceCollection; |
Modules
dice_collection | |
numeric_die | |
value_die |
Traits
Die |
An abstraction representing a die. All dice implement this trait. Any object implementing Die may be rolled to randomly choose a new value for the object from a predetermined set of values. The value of the Die may be read at any time, including before being rolled for the first time. |