Dice

Static Class in Zigurous.Math

Declaration

public static class Dice

Description

Functions for rolling dice.

Static Methods

D4Rolls a 4-sided dice [1..4].
D6Rolls a 6-sided dice [1..6].
D8Rolls an 8-sided dice [1..8].
D10Rolls a 10-sided dice [1..10].
D12Rolls a 12-sided dice [1..12].
D20Rolls a 20-sided dice [1..20].
D48Rolls a 48-sided dice [1..48].
D100Rolls a 100-sided dice [1..100].
NSidedRolls an n-sided dice [1..n].
RollRolls a custom dice.
Roll<T>Rolls a custom dice.