Class MoveRequestService
java.lang.Object
com.chess.backend.restController.service.MoveRequestService
This class handles the call to get all possible moves for a chess piece.
- Author:
- Hannes Stuetzer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPossibleMoves
(MoveRequestInputObject moveRequestInputObject) This method gets the possible moves from theChessGameService
.
-
Constructor Details
-
MoveRequestService
-
-
Method Details
-
getPossibleMoves
This method gets the possible moves from theChessGameService
.- Parameters:
moveRequestInputObject
- the object that is generated via the API-Call of theMoveRequestController
.- Returns:
- containing all possible moves.
-