Class GetChessboardService

java.lang.Object
com.chess.backend.restController.service.GetChessboardService

@Service public class GetChessboardService extends Object
This class handles the call to get the chessboard.
Author:
Hannes Stuetzer
  • Constructor Details

    • GetChessboardService

      @Autowired public GetChessboardService(ChessGameService gameService)
  • Method Details

    • getChessboard

      public ChessboardObject getChessboard(int gameID)
      This methods calls the ChessGameService to get the chessboard.
      Parameters:
      gameID - the id of the current game.
      Returns:
      containing the chessboard.