Class NewPlayersObject
java.lang.Object
com.chess.backend.restController.objects.NewPlayersObject
- All Implemented Interfaces:
INewPlayersObject
This class is created via the API-Call of
NewGameController
.- Author:
- Hannes Stuetzer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
Iterates through all the players and gets the name of them.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.chess.backend.domain.controllers.objects.INewPlayersObject
getPlayers, setPlayers
-
Constructor Details
-
NewPlayersObject
public NewPlayersObject()
-
-
Method Details
-
getAllPlayerNames
Iterates through all the players and gets the name of them.- Specified by:
getAllPlayerNames
in interfaceINewPlayersObject
- Returns:
- an array of all the player names.
-