Module app

Interface ChessMove

All Superinterfaces:
Move<ChessPiece>
All Known Implementing Classes:
Castle, NormalMove, Promotion

public interface ChessMove extends Move<ChessPiece>
Move specific for chess
  • Method Summary

    Modifier and Type
    Method
    Description
     
     

    Methods inherited from interface app.core.game.moves.Move

    match
  • Method Details

    • getField

      Field getField()
      Returns:
      The field on which the piece should be after making the move
    • getPiece

      ChessPiece getPiece()
      Returns:
      The instance of piece that is supposed to make a move