Uses of Class
net.royalur.model.path.PathPair
Package
Description
-
Uses of PathPair in net.royalur
Modifier and TypeMethodDescriptionCopies this game builder with the paths taken by each player set topaths
. -
Uses of PathPair in net.royalur.model
Modifier and TypeMethodDescriptionGameSettings.getPaths()
Gets the paths that each player must take around the board.Modifier and TypeMethodDescriptionGets the destination tile of this move, including off the board tiles when scoring a piece.int
Move.getDestIndex
(PathPair paths) Gets the index of the destination piece in the path.int
Move.getPathIndex
(PathPair paths) Gets the index of the source tile of this move in the player's path.Gets the source tile of this move, including off the board tiles when introducing a piece.Generates new game settings withpaths
.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 PathPair in net.royalur.model.path
Modifier and TypeClassDescriptionclass
The standard paths that are used for Aseb.class
The paths proposed by Bell for the Royal Game of Ur.class
The paths proposed by Masters for the Royal Game of Ur.class
The paths proposed by Murray for the Royal Game of Ur.class
The paths proposed by Skiriuk for the Royal Game of Ur.Modifier and TypeMethodDescriptionPathPairFactory.createPathPair()
Create an instance of the paths.abstract PathPair
PathType.createPathPair()
Create an instance of the paths.Modifier and TypeMethodDescriptionboolean
PathPair.isEquivalent
(PathPair other) Determines whether the paths that the light player's pieces must take, and the paths that the dark player's pieces must take, are equivalent between this path pair andother
. -
Uses of PathPair in net.royalur.model.shape
Modifier and TypeMethodDescriptionboolean
BoardShape.isCompatible
(PathPair paths) Determines whetherpaths
can be used on this shape of board. -
Uses of PathPair in net.royalur.rules
Modifier and TypeFieldDescriptionprotected final PathPair
RuleSet.paths
The paths that each player must take around the board.Modifier and TypeMethodDescriptionRuleSet.getPaths()
Gets the paths that the players must take around the board.ModifierConstructorDescriptionprotected
RuleSet
(BoardShape boardShape, PathPair paths, DiceFactory diceFactory, PieceProvider pieceProvider, PlayerStateProvider playerStateProvider) Instantiates a rule set for the Royal Game of Ur. -
Uses of PathPair 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.