Dice.D12
Static Method in Dice
Declaration
public static int D12()Description
Rolls a 12-sided dice [1..12].
Returns
| int | A random number on a 12-sided dice [1..12]. |
Overload
Declaration
public static int D12(int n)Description
Rolls a 12-sided dice [1..12] n times.
Parameters
| n | The number of times to roll the dice. |
Returns
| int | The sum of the rolls. |