Class ExecutedMoveObject
java.lang.Object
com.chess.backend.restController.objects.ExecutedMoveObject
This class is received from the API-Call of the
ExecutedMoveController.- Author:
- Hannes Stuetzer
-
Constructor Summary
ConstructorsConstructorDescriptionExecutedMoveObject(int gameID, int[] previousPiecePosition, int[] newPiecePosition) -
Method Summary
Modifier and TypeMethodDescriptionintint[]int[]voidsetGameID(int gameID) voidsetNewPiecePosition(int[] newPiecePosition) voidsetPreviousPiecePosition(int[] previousPiecePosition)
-
Constructor Details
-
ExecutedMoveObject
public ExecutedMoveObject(int gameID, int[] previousPiecePosition, int[] newPiecePosition)
-
-
Method Details
-
getGameID
public int getGameID() -
setGameID
public void setGameID(int gameID) -
getPreviousPiecePosition
public int[] getPreviousPiecePosition() -
setPreviousPiecePosition
public void setPreviousPiecePosition(int[] previousPiecePosition) -
getNewPiecePosition
public int[] getNewPiecePosition() -
setNewPiecePosition
public void setNewPiecePosition(int[] newPiecePosition)
-