Class NewPlayersObject

java.lang.Object
com.chess.backend.restController.objects.NewPlayersObject
All Implemented Interfaces:
INewPlayersObject

public class NewPlayersObject extends Object implements INewPlayersObject
This class is created via the API-Call of NewGameController.
Author:
Hannes Stuetzer
  • Constructor Details

    • NewPlayersObject

      public NewPlayersObject()
  • Method Details

    • getAllPlayerNames

      public String[] getAllPlayerNames()
      Iterates through all the players and gets the name of them.
      Specified by:
      getAllPlayerNames in interface INewPlayersObject
      Returns:
      an array of all the player names.