d10 static method
Roll a ten-sided dice. Returns an integer in 1-10 (inclusive).
Implementation
static int d10() => random.nextInt(10) + 1;
Roll a ten-sided dice. Returns an integer in 1-10 (inclusive).
static int d10() => random.nextInt(10) + 1;