Package it.polimi.ingsw.eriantys.model
Class PlayerList
java.lang.Object
it.polimi.ingsw.eriantys.model.PlayerList
A
GameManager
helper class to handle the players of the game,
in particular for the variability of the turn order.-
Constructor Details
-
PlayerList
-
-
Method Details
-
setFirst
A setter for thePlayer
who is entitled to play as first in the current round.- Parameters:
target
- thePlayer
which will play as first
-
getTurnOrder
A getter for aList
containing the turn order referred to the current round.- Returns:
- the reference to a
List
stating the turn order
-
get
A getter for thePlayer
object associated with a nickname.
-