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