Uses of Class
it.polimi.ingsw.Server.Model.Shelf
-
Uses of Shelf in it.polimi.ingsw.Server.Controller
Modifier and TypeFieldDescriptionprivate final Shelf
GsonMoveDeserializer.s
Player's Shelfprivate final Shelf
MoveIntermediate.s
Player's shelfprivate Shelf
Move.shelf
Modifier and TypeMethodDescriptionvoid
Move.setBoardAndShelf
(Board board, Shelf shelf) Sets Move's Board and ShelfModifierConstructorDescriptionGsonMoveDeserializer
(Board b, Shelf s) MoveDeserializer ConstructorGame's Move implementationMoveIntermediate
(Board b, Shelf s, GameController gc, Player p) Move Intermediate constructor -
Uses of Shelf in it.polimi.ingsw.Server.Model
Modifier and TypeFieldDescription(package private) Shelf
ShelfTest.s
private Shelf
Player.shelf
Player's shelf referenceModifier and TypeMethodDescriptionShelf.getCopy()
Refreshed copy, after server reload from filePlayer.getShelf()
This is a getter method for the shelf attributeGame.getShelfFromNickname
(String nickname) this method is a getter for player's shelf obtained from nicknameModifier and TypeMethodDescriptionThis method calculates how many points the player has scored, by achieving the pattern which is displayed in the Common Goal Card.private boolean
CommonGoalCard.findTypesInColumns
(int diffTypesMax, int diffTypesMin, int numOfPattern, Shelf shelf) This method is a support method to attribute() for cards 2 and 5.private boolean
CommonGoalCard.findTypesInRows
(int diffTypesMax, int diffTypesMin, int numOfPattern, Shelf shelf) This method is a support method to attribute() for cards 6 and 7.private boolean
CommonGoalCard.sameTypeGroupFirstCheck
(int dimOfGroup, int numPattern, Shelf shelf) This method is a support method to attribute() for cards 3 and 4.private boolean
CommonGoalCard.sameTypeGroupSecondCheck
(int dimOfGroup, int numPattern, Shelf shelf) This method is a support method to attribute() for cards 3 and 4.