Package com.chess.backend.domain.models
Interface IBoard
- All Known Implementing Classes:
Chessboard
public interface IBoard
Interface of Board class
-
Method Summary
Modifier and TypeMethodDescriptionbooleanintinthashCode()booleanvoidsetBreakCastling(boolean breakCastling) voidsetMoves_history(Moves moves_history) voidsetNumberOfPlayers(int numberOfPlayers) voidsetSquares(ArrayList<ArrayList<Square>> squares) toString()
-
Method Details
-
getNumberOfPlayers
int getNumberOfPlayers() -
getSquares
-
isBreakCastling
boolean isBreakCastling() -
getMoves_history
Moves getMoves_history() -
setNumberOfPlayers
void setNumberOfPlayers(int numberOfPlayers) -
setSquares
-
setBreakCastling
void setBreakCastling(boolean breakCastling) -
setMoves_history
-
equals
-
hashCode
int hashCode() -
toString
String toString()
-