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