Uses of Class
com.chess.backend.gamemodel.Piece
Packages that use Piece
Package
Description
-
Uses of Piece in com.chess.backend.gamemodel
Methods in com.chess.backend.gamemodel with parameters of type PieceConstructors in com.chess.backend.gamemodel with parameters of type Piece -
Uses of Piece in com.chess.backend.gamemodel.abstractmoves
Methods in com.chess.backend.gamemodel.abstractmoves with parameters of type PieceModifier and TypeMethodDescriptionMoveBackward.backward(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful, int limit) Generate concrete possible moves from a given piece and game context.MoveBackward.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.MoveDiagonal.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.MoveForward.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.MoveKnight.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.MoveLeft.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.MoveOneBackward.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.MoveOneDiagonal.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.MoveOneForward.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.MoveOneLeft.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.MoveOneRight.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.MovePawnCaptureBackward.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.MovePawnCaptureForward.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.MoveRight.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.MoveTwoBackward.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.MoveTwoForward.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible moves from a given piece and game context.Shoot.concretise(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful) Generate concrete possible shoots from a given piece and game context.MoveDiagonal.diagonal(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful, int limit) Generate concrete possible moves from a given piece and game context.MoveDiagonal.diagonal(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful, int limit, Position.Direction direction) Generate concrete possible moves from a given piece and game context.MoveForward.forward(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful, int limit) Generate concrete possible moves from a given piece and game context.MoveKnight.knight(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful, int limit, Position.Direction direction1, Position.Direction direction2) Generate concrete possible moves from a given piece and game context.MoveLeft.left(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful, int limit) Generate concrete possible moves from a given piece and game context.MoveRight.right(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful, int limit) Generate concrete possible moves from a given piece and game context.Shoot.shoot(Chessboard chessboard, Piece piece, boolean attack, boolean jump, boolean peaceful, int limit) Generate concrete possible moves from a given piece and game context. -
Uses of Piece in com.chess.backend.services
Methods in com.chess.backend.services that return PieceModifier and TypeMethodDescriptionstatic PieceChessboardService.getPieceByPosition(Chessboard chessboard, int x, int y) static PieceChessboardService.getPieceByPosition(Chessboard chessboard, Position position) Methods in com.chess.backend.services with parameters of type PieceModifier and TypeMethodDescriptionChessboardService.getValidMovesForPiece(Chessboard chessboard, Piece piece, Player player) Gets all valid moves for a piece.static voidprivate function that takes two positions, ie x,y and set piece in Square[x][y]