Uses of Class
net.royalur.model.Tile
Packages that use Tile
-
Uses of Tile in net.royalur
Methods in net.royalur with parameters of type TileModifier and TypeMethodDescriptionGame.findMoveByTile
(Tile sourceTile) Finds the move of the piece ontile
.void
Game.movePieceOnTile
(Tile sourceTile) Moves the piece on the given source tile, and updates the state of the game. -
Uses of Tile in net.royalur.model
Methods in net.royalur.model that return TileModifier and TypeMethodDescriptionstatic Tile
Tile.fromIndices
(int ix, int iy) Creates a new tile representing the tile at the indices (ix
,iy
), 0-based.static Tile
Tile.fromString
(String tile) Converts text representations of the tile of the format "[letter][number]".Move.getDest()
Gets the destination tile of this move.Gets the destination tile of this move, including off the board tiles when scoring a piece.Move.getDestOrNull()
Gets the destination tile of this move, or else returns null if there is no destination piece, in the case where a piece is moved off the board.Move.getSource()
Gets the source tile of this move.Gets the source tile of this move, including off the board tiles when introducing a piece.Move.getSourceOrNull()
Gets the source tile of this move, or else returns null if there is no source piece, in the case where a new piece is moved onto the board.Tile.stepTowards
(Tile other) Takes a unit length step towards the other tile.Methods in net.royalur.model that return types with arguments of type TileModifier and TypeMethodDescriptionTile.createList
(int... coordinates) Constructs a list of tiles from the tile coordinates.Tile.createPath
(int... coordinates) Constructs a path from waypoints on the board.Tile.unionLists
(Collection<Tile>... tileLists) Calculates the union of all given tile lists.Methods in net.royalur.model with parameters of type TileModifier and TypeMethodDescriptionboolean
Determines whethertile
falls within the bounds of this board.Gets the piece ontile
.Sets the piece ontile
topiece
.Tile.stepTowards
(Tile other) Takes a unit length step towards the other tile.Constructors in net.royalur.model with parameters of type Tile -
Uses of Tile in net.royalur.model.path
Fields in net.royalur.model.path with type parameters of type TileModifier and TypeFieldDescriptionAsebPathPair.DARK_PATH
The path of the dark player's pieces.BellPathPair.DARK_PATH
The path of the dark player's pieces.MastersPathPair.DARK_PATH
The path of the dark player's pieces.MurrayPathPair.DARK_PATH
The path of the dark player's pieces.SkiriukPathPair.DARK_PATH
The path of the dark player's pieces.AsebPathPair.LIGHT_PATH
The path of the light player's pieces.BellPathPair.LIGHT_PATH
The path of the light player's pieces.MastersPathPair.LIGHT_PATH
The path of the light player's pieces.MurrayPathPair.LIGHT_PATH
The path of the light player's pieces.SkiriukPathPair.LIGHT_PATH
The path of the light player's pieces.Methods in net.royalur.model.path that return TileModifier and TypeMethodDescriptionPathPair.getDarkEnd()
Gets the end tile for the dark player that exists off the board.PathPair.getDarkStart()
Gets the start tile for the dark player that exists off the board.PathPair.getEnd
(PlayerType player) Gets the end tile ofplayer
that exists off the board.PathPair.getLightEnd()
Gets the end tile for the light player that exists off the board.PathPair.getLightStart()
Gets the start tile for the light player that exists off the board.PathPair.getStart
(PlayerType player) Gets the start tile ofplayer
, which exists off the board.Methods in net.royalur.model.path that return types with arguments of type TileModifier and TypeMethodDescriptionPathPair.get
(PlayerType player) Gets the path ofplayer
, excluding the start and end tiles that exist off the board.PathPair.getDark()
Gets the path that the dark player's pieces must take, excluding the start and end tiles that exist off the board.PathPair.getDarkWithStartEnd()
Gets the path that the dark player's pieces must take, including the start and end tiles that exist off the board.PathPair.getLight()
Gets the path that the light player's pieces must take, excluding the start and end tiles that exist off the board.PathPair.getLightWithStartEnd()
Gets the path that the light player's pieces must take, including the start and end tiles that exist off the board.PathPair.getWithStartEnd
(PlayerType player) Gets the path ofplayer
, including the start and end tiles that exist off the board.Constructor parameters in net.royalur.model.path with type arguments of type Tile -
Uses of Tile in net.royalur.model.shape
Fields in net.royalur.model.shape with type parameters of type TileModifier and TypeFieldDescriptionAsebBoardShape.BOARD_TILES
The set of all tiles that exist on the board.StandardBoardShape.BOARD_TILES
The set of all tiles that exist on the standard board.AsebBoardShape.ROSETTE_TILES
The set of rosette tiles that exist on the board.StandardBoardShape.ROSETTE_TILES
The set of rosette tiles that exist on the standard board.Methods in net.royalur.model.shape that return types with arguments of type TileModifier and TypeMethodDescriptionBoardShape.getRosetteTiles()
Gets the set of tiles that represent rosette tiles in this board shape.BoardShape.getTiles()
Gets the set of tiles that fall within the bounds of this board shape.BoardShape.getTilesByColumn()
The tiles that fall within the bounds of this board shape, ordered by ascending column number, and then ascending row number.BoardShape.getTilesByRow()
Returns the tiles that fall within the bounds of this board shape, ordered by ascending row number, and then ascending column number.Methods in net.royalur.model.shape with parameters of type TileModifier and TypeMethodDescriptionboolean
Determines whethertile
falls within this board shape.boolean
boolean
Determines whethertile
is a rosette tile in this board shape.boolean
Method parameters in net.royalur.model.shape with type arguments of type TileModifier and TypeMethodDescriptionboolean
BoardShape.containsAll
(Collection<Tile> tiles) Determines whether all tiles intiles
are included in this board shape.Constructor parameters in net.royalur.model.shape with type arguments of type Tile