Uses of Interface
net.royalur.model.dice.DiceFactory
Package
Description
-
Uses of DiceFactory in net.royalur
Modifier and TypeMethodDescriptionGameBuilder.dice
(DiceFactory diceFactory) Copies this game builder with the factory used to generate dice for games set todiceFactory
. -
Uses of DiceFactory in net.royalur.model
Modifier and TypeMethodDescriptionGameSettings.getDice()
Gets the generator of the dice that should be used to generate dice rolls.Modifier and TypeMethodDescriptionGameSettings.withDice
(DiceFactory diceFactory) Generates new game settings withdiceFactory
.ModifierConstructorDescriptionGameSettings
(BoardShape boardShape, PathPair paths, DiceFactory diceFactory, int startingPieceCount, boolean safeRosettes, boolean rosettesGrantExtraRolls, boolean capturesGrantExtraRolls) Instantiates a new set of game settings for the Royal Game of Ur. -
Uses of DiceFactory in net.royalur.model.dice
Modifier and TypeFieldDescriptionstatic final Map<String,
DiceFactory> DiceType.PARSING_MAP
A store to be used to parse dice.Modifier and TypeMethodDescriptionDiceType.createFactory
(Supplier<RandomGenerator> randomProvider) Creates a factory that produces dice usingrandomProvider
to generate the source of randomness for each dice that is produced. -
Uses of DiceFactory in net.royalur.rules
Modifier and TypeFieldDescriptionprotected final DiceFactory
RuleSet.diceFactory
The generator of dice that are used to generate dice rolls.Modifier and TypeMethodDescriptionRuleSet.getDiceFactory()
Gets the generator of dice that are used to generate dice rolls.ModifierConstructorDescriptionprotected
RuleSet
(BoardShape boardShape, PathPair paths, DiceFactory diceFactory, PieceProvider pieceProvider, PlayerStateProvider playerStateProvider) Instantiates a rule set for the Royal Game of Ur. -
Uses of DiceFactory in net.royalur.rules.simple
ModifierConstructorDescriptionSimpleRuleSet
(BoardShape boardShape, PathPair paths, DiceFactory diceFactory, PieceProvider pieceProvider, PlayerStateProvider playerStateProvider, boolean safeRosettes, boolean rosettesGrantExtraRolls, boolean capturesGrantExtraRolls) Instantiates a simple rule set for the Royal Game of Ur.