Uses of Class
it.polimi.ingsw.Server.Model.ScoreCard
Packages that use ScoreCard
-
Uses of ScoreCard in it.polimi.ingsw.Server.Controller
Fields in it.polimi.ingsw.Server.Controller with type parameters of type ScoreCardModifier 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 ScoreCardModifier and TypeMethodDescriptionGameController.getLastTurnScores()
getter method for LastTurnScores (if a player has achieved a CommonGoal)GameController.getScoreCardsFromNickname
(String nickname) Constructor parameters in it.polimi.ingsw.Server.Controller with type arguments of type ScoreCardModifierConstructorDescriptionprivate
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
Subclasses of ScoreCard in it.polimi.ingsw.Server.ModelModifier and TypeClassDescriptionclass
ScoreCard with value 1 for the first player who completely fills his/her shelfFields in it.polimi.ingsw.Server.Model with type parameters of type ScoreCardModifier 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 playerMethods in it.polimi.ingsw.Server.Model that return ScoreCardModifier 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 fileMethods in it.polimi.ingsw.Server.Model that return types with arguments of type ScoreCardModifier and TypeMethodDescriptionPlayer.getLastAchieved()
Player.getScoreCards()
Game.getScoreCardsFromNickname
(String nickname) this method is a getter for ScoreCards obtained from NicknameConstructor parameters in it.polimi.ingsw.Server.Model with type arguments of type ScoreCardModifierConstructorDescriptionprivate
CommonGoalCard
(int type, String description, Stack<ScoreCard> increments) Related to Game's refresh strategy