Uses of Class
it.polimi.ingsw.Server.Model.ScoreCard
-
Uses of ScoreCard 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)GameController.getScoreCardsFromNickname
(String nickname) 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 ScoreCard in it.polimi.ingsw.Server.Model
Modifier and TypeClassDescriptionclass
ScoreCard with value 1 for the first player who completely fills his/her shelfModifier and TypeFieldDescriptionCommonGoalCard.increments
This attribute stands for the deck of ScoreCards on each Common Goal Card, put there from the lowest to the highest value.private final Map<ScoreCard,
CommonGoalCard> Player.lastAchieved
Player.scoreCards
List of ScoreCards achieved by the playerModifier and TypeMethodDescriptionThis method calculates how many points the player has scored, by achieving the pattern which is displayed in the Common Goal Card.ScoreCard.getCopy()
Refreshed copy, after server reload from fileModifier and TypeMethodDescriptionPlayer.getLastAchieved()
Player.getScoreCards()
Game.getScoreCardsFromNickname
(String nickname) this method is a getter for ScoreCards obtained from NicknameModifierConstructorDescriptionprivate
CommonGoalCard
(int type, String description, Stack<ScoreCard> increments) Related to Game's refresh strategy