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 Summary
Constructors -
Method Summary
-
Constructor Details
-
PlayerList
-
-
Method Details
-
setFirst
A setter for thePlayerwho is entitled to play as first in the current round.- Parameters:
target- thePlayerwhich will play as first
-
getTurnOrder
A getter for aListcontaining the turn order referred to the current round.- Returns:
- the reference to a
Liststating the turn order
-
get
A getter for thePlayerobject associated with a nickname.
-