Uses of Class
it.polimi.ingsw.Server.Model.CommonGoalCard
Packages that use CommonGoalCard
-
Uses of CommonGoalCard in it.polimi.ingsw.Server.Controller
Fields in it.polimi.ingsw.Server.Controller with type parameters of type CommonGoalCardModifier and TypeFieldDescriptionprivate Map<ScoreCard,
CommonGoalCard> GameController.lastTurnScores
This attribute indicates a map where are stored pairs of CommonGoalCard and its relative ScoreCardMethods in it.polimi.ingsw.Server.Controller that return types with arguments of type CommonGoalCardModifier and TypeMethodDescriptionGameController.getLastTurnScores()
getter method for LastTurnScores (if a player has achieved a CommonGoal)Constructor parameters in it.polimi.ingsw.Server.Controller with type arguments of type CommonGoalCardModifierConstructorDescriptionprivate
GameController
(List<String> lobby, String identifier, Game game, Player activePlayer, int maxPlayers, boolean refreshed, Map<ScoreCard, CommonGoalCard> lastTurnScores) Related to Game's refresh strategy -
Uses of CommonGoalCard in it.polimi.ingsw.Server.Model
Fields in it.polimi.ingsw.Server.Model declared as CommonGoalCardModifier and TypeFieldDescriptionprivate CommonGoalCard
Game.cgCard1
It's the first CommonGoalCard drawn for the gameprivate CommonGoalCard
Player.cgCard1
First common goal card referenceprivate CommonGoalCard
Game.cgCard2
It's the second CommonGoalCard drawn for the gameprivate CommonGoalCard
Player.cgCard2
Second common goal card referenceFields in it.polimi.ingsw.Server.Model with type parameters of type CommonGoalCardMethods in it.polimi.ingsw.Server.Model that return CommonGoalCardModifier and TypeMethodDescriptionCommonGoalCard.getCopy()
Refreshed copy, after server reload from fileMethods in it.polimi.ingsw.Server.Model that return types with arguments of type CommonGoalCardMethods in it.polimi.ingsw.Server.Model with parameters of type CommonGoalCardModifier and TypeMethodDescriptionvoid
Player.refreshEntities
(CommonGoalCard cgCard1, CommonGoalCard cgCard2) Refreshment strategy, related to persistency management strategyvoid
Player.setGameParameters
(PersonalGoalCard pgCard, CommonGoalCard cgCard1, CommonGoalCard cgCard2, Board board) Setter for initial Game parametersConstructors in it.polimi.ingsw.Server.Model with parameters of type CommonGoalCardModifierConstructorDescriptionGame
(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(package private)
Player
(String nickname, PersonalGoalCard pgCard, CommonGoalCard cgCard1, CommonGoalCard cgCard2, int position, Board board) Player's class constructor