Uses of Interface
net.royalur.model.dice.DiceFactory
Packages that use DiceFactory
Package
Description
-
Uses of DiceFactory in net.royalur
Methods in net.royalur with parameters of type DiceFactoryModifier 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
Methods in net.royalur.model that return DiceFactoryModifier and TypeMethodDescriptionGameSettings.getDice()
Gets the generator of the dice that should be used to generate dice rolls.Methods in net.royalur.model with parameters of type DiceFactoryModifier and TypeMethodDescriptionGameSettings.withDice
(DiceFactory diceFactory) Generates new game settings withdiceFactory
.Constructors in net.royalur.model with parameters of type DiceFactoryModifierConstructorDescriptionGameSettings
(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
Classes in net.royalur.model.dice that implement DiceFactoryFields in net.royalur.model.dice with type parameters of type DiceFactoryModifier and TypeFieldDescriptionstatic final Map<String,
DiceFactory> DiceType.PARSING_MAP
A store to be used to parse dice.Methods in net.royalur.model.dice that return DiceFactoryModifier 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
Fields in net.royalur.rules declared as DiceFactoryModifier and TypeFieldDescriptionprotected final DiceFactory
RuleSet.diceFactory
The generator of dice that are used to generate dice rolls.Methods in net.royalur.rules that return DiceFactoryModifier and TypeMethodDescriptionRuleSet.getDiceFactory()
Gets the generator of dice that are used to generate dice rolls.Constructors in net.royalur.rules with parameters of type DiceFactoryModifierConstructorDescriptionprotected
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
Constructors in net.royalur.rules.simple with parameters of type DiceFactoryModifierConstructorDescriptionSimpleRuleSet
(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.