Attributes
Members list
Type members
Classlikes
Pre-constructed dice with a fixed number of sides, rolls are includive and start at 1, not 0. You need to provide a seed value.
Pre-constructed dice with a fixed number of sides, rolls are includive and start at 1, not 0. You need to provide a seed value.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Sides.type
Value members
Concrete methods
Constructs a dice with a given number of sides and a seed value.
Constructs a dice with a given number of sides and a seed value.
Attributes
Construct a 'max int' sided dice using a time in milliseconds as the seed.
Construct a 'max int' sided dice using a time in milliseconds as the seed.
Attributes
Construct a 'max int' sided dice using a time in seconds (converted to millis) as the seed.
Construct a 'max int' sided dice using a time in seconds (converted to millis) as the seed.
Attributes
Construct a 'max int' sided dice from a given seed value. This is the default dice presented by the FrameContext
.
Construct a 'max int' sided dice from a given seed value. This is the default dice presented by the FrameContext
.
Attributes
Constructs a 'loaded' dice where everything returns a fixed value. Intended for use during testing.
Constructs a 'loaded' dice where everything returns a fixed value. Intended for use during testing.
Attributes
Rolls a number of dice.
Rolls a number of dice.
Value parameters
- numberOfDice
-
How many dice to roll
- seed
-
The seed value to based the dice on
- sides
-
How many sides the dice all have
Attributes
- Returns
-
Returns and Optional NonEmtpyList of Int's, where None is produced when the input values are invalid.