Uses of Class
it.polimi.ingsw.Server.Model.CommonGoalCard
-
Uses of CommonGoalCard in it.polimi.ingsw.Server.Controller
Modifier and TypeFieldDescriptionprivate Map<ScoreCard,
CommonGoalCard> GameController.lastTurnScores
This attribute indicates a map where are stored pairs of CommonGoalCard and its relative ScoreCardModifier and TypeMethodDescriptionGameController.getLastTurnScores()
getter method for LastTurnScores (if a player has achieved a CommonGoal)ModifierConstructorDescriptionprivate
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
Modifier 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 referenceModifier and TypeMethodDescriptionCommonGoalCard.getCopy()
Refreshed copy, after server reload from fileModifier 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 parametersModifierConstructorDescriptionGame
(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