Uses of Class
it.polimi.ingsw.Server.Model.Player
Packages that use Player
-
Uses of Player in it.polimi.ingsw.Server.Controller
Fields in it.polimi.ingsw.Server.Controller declared as PlayerModifier and TypeFieldDescriptionprivate Player
GameController.activePlayer
Player who is playing his/her turn at this very momentprivate final Player
MoveIntermediate.p
Used for validation checksMethods in it.polimi.ingsw.Server.Controller that return PlayerModifier and TypeMethodDescriptionGameController.getActivePlayer()
Getter method for activePlayerGameController.getPlayerByNickname
(String nickname) getter method for PlayerByNicknameConstructors in it.polimi.ingsw.Server.Controller with parameters of type PlayerModifierConstructorDescriptionprivate
GameController
(List<String> lobby, String identifier, Game game, Player activePlayer, int maxPlayers, boolean refreshed, Map<ScoreCard, CommonGoalCard> lastTurnScores) Related to Game's refresh strategyMoveIntermediate
(Board b, Shelf s, GameController gc, Player p) Move Intermediate constructor -
Uses of Player in it.polimi.ingsw.Server.Model
Fields in it.polimi.ingsw.Server.Model with type parameters of type PlayerModifier and TypeFieldDescriptionGame.players
Map used to store Players, associated to an Integer key, which indicates their position in the gameMethods in it.polimi.ingsw.Server.Model that return PlayerModifier and TypeMethodDescriptionGame.getPlayerFromNickname
(String nickname) getter method to recognize a player from nicknameThis method adds a new player to "players" Map.Methods in it.polimi.ingsw.Server.Model that return types with arguments of type PlayerMethods in it.polimi.ingsw.Server.Model with parameters of type PlayerModifier and TypeMethodDescriptionboolean
Game.checkEndGame
(Player activePlayer) This method checks if the active player has completely filled his/her shelfConstructor parameters in it.polimi.ingsw.Server.Model with type arguments of type PlayerModifierConstructorDescriptionGame
(String identifier, Map<Integer, Player> players, int maxPlayers, List<PersonalGoalCard> personalCards, Scoreboard scoreboard, Board board, int playerCount, CommonGoalCard cgCard1, CommonGoalCard cgCard2, List<ObjectCard> objectCards, boolean gameEnded, boolean prepared) Related to Game's refresh strategy