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 Tile
    Modifier and Type
    Method
    Description
    Game.findMoveByTile(Tile sourceTile)
    Finds the move of the piece on tile.
    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 Tile
    Modifier and Type
    Method
    Description
    static 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.
    Move.getDest(PathPair paths)
    Gets the destination tile of this move, including off the board tiles when scoring a piece.
    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.
    Move.getSource(PathPair paths)
    Gets the source tile of this move, including off the board tiles when introducing a piece.
    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 Tile
    Modifier and Type
    Method
    Description
    static List<Tile>
    Tile.createList(int... coordinates)
    Constructs a list of tiles from the tile coordinates.
    static List<Tile>
    Tile.createPath(int... coordinates)
    Constructs a path from waypoints on the board.
    static Set<Tile>
    Tile.unionLists(Collection<Tile>... tileLists)
    Calculates the union of all given tile lists.
    Methods in net.royalur.model with parameters of type Tile
    Modifier and Type
    Method
    Description
    boolean
    Board.contains(Tile tile)
    Determines whether tile falls within the bounds of this board.
    Board.get(Tile tile)
    Gets the piece on tile.
    Board.set(Tile tile, Piece piece)
    Sets the piece on tile to piece.
    Tile.stepTowards(Tile other)
    Takes a unit length step towards the other tile.
    Constructors in net.royalur.model with parameters of type Tile
    Modifier
    Constructor
    Description
     
    Move(PlayerType player, Tile source, Piece sourcePiece, Tile dest, Piece destPiece, Piece capturedPiece)
    Creates a new move with origin source and destination dest.
  • Uses of Tile in net.royalur.model.path

    Fields in net.royalur.model.path with type parameters of type Tile
    Modifier and Type
    Field
    Description
    static final List<Tile>
    AsebPathPair.DARK_PATH
    The path of the dark player's pieces.
    static final List<Tile>
    BellPathPair.DARK_PATH
    The path of the dark player's pieces.
    static final List<Tile>
    MastersPathPair.DARK_PATH
    The path of the dark player's pieces.
    static final List<Tile>
    MurrayPathPair.DARK_PATH
    The path of the dark player's pieces.
    static final List<Tile>
    SkiriukPathPair.DARK_PATH
    The path of the dark player's pieces.
    static final List<Tile>
    AsebPathPair.LIGHT_PATH
    The path of the light player's pieces.
    static final List<Tile>
    BellPathPair.LIGHT_PATH
    The path of the light player's pieces.
    static final List<Tile>
    MastersPathPair.LIGHT_PATH
    The path of the light player's pieces.
    static final List<Tile>
    MurrayPathPair.LIGHT_PATH
    The path of the light player's pieces.
    static final List<Tile>
    SkiriukPathPair.LIGHT_PATH
    The path of the light player's pieces.
    Methods in net.royalur.model.path that return Tile
    Modifier and Type
    Method
    Description
    PathPair.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 of player 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 of player, which exists off the board.
    Methods in net.royalur.model.path that return types with arguments of type Tile
    Modifier and Type
    Method
    Description
    PathPair.get(PlayerType player)
    Gets the path of player, 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.
    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.
    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 of player, including the start and end tiles that exist off the board.
    Constructor parameters in net.royalur.model.path with type arguments of type Tile
    Modifier
    Constructor
    Description
     
    PathPair(String id, List<Tile> lightWithStartEnd, List<Tile> darkWithStartEnd)
    Instantiates a pair of paths.
  • Uses of Tile in net.royalur.model.shape

    Fields in net.royalur.model.shape with type parameters of type Tile
    Modifier and Type
    Field
    Description
    static final Set<Tile>
    AsebBoardShape.BOARD_TILES
    The set of all tiles that exist on the board.
    static final Set<Tile>
    StandardBoardShape.BOARD_TILES
    The set of all tiles that exist on the standard board.
    static final Set<Tile>
    AsebBoardShape.ROSETTE_TILES
    The set of rosette tiles that exist on the board.
    static final Set<Tile>
    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 Tile
    Modifier and Type
    Method
    Description
    BoardShape.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.
    final List<Tile>
    BoardShape.getTilesByColumn()
    The tiles that fall within the bounds of this board shape, ordered by ascending column number, and then ascending row number.
    final List<Tile>
    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 Tile
    Modifier and Type
    Method
    Description
    boolean
    BoardShape.contains(Tile tile)
    Determines whether tile falls within this board shape.
    boolean
    StandardBoardShape.contains(Tile tile)
     
    boolean
    BoardShape.isRosette(Tile tile)
    Determines whether tile is a rosette tile in this board shape.
    boolean
    StandardBoardShape.isRosette(Tile tile)
     
    Method parameters in net.royalur.model.shape with type arguments of type Tile
    Modifier and Type
    Method
    Description
    boolean
    BoardShape.containsAll(Collection<Tile> tiles)
    Determines whether all tiles in tiles are included in this board shape.
    Constructor parameters in net.royalur.model.shape with type arguments of type Tile
    Modifier
    Constructor
    Description
     
    BoardShape(String id, Set<Tile> tiles, Set<Tile> rosettes)
    Instantiates a board shape with tiles representing the tiles on the board.