Uses of Class
it.polimi.ingsw.Server.Model.Shelf
Packages that use Shelf
-
Uses of Shelf in it.polimi.ingsw.Server.Controller
Fields in it.polimi.ingsw.Server.Controller declared as ShelfModifier and TypeFieldDescriptionprivate final Shelf
GsonMoveDeserializer.s
Player's Shelfprivate final Shelf
MoveIntermediate.s
Player's shelfprivate Shelf
Move.shelf
Methods in it.polimi.ingsw.Server.Controller with parameters of type ShelfModifier and TypeMethodDescriptionvoid
Move.setBoardAndShelf
(Board board, Shelf shelf) Sets Move's Board and ShelfConstructors in it.polimi.ingsw.Server.Controller with parameters of type 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
Fields in it.polimi.ingsw.Server.Model declared as ShelfModifier and TypeFieldDescription(package private) Shelf
ShelfTest.s
private Shelf
Player.shelf
Player's shelf referenceMethods in it.polimi.ingsw.Server.Model that return ShelfModifier 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 nicknameMethods in it.polimi.ingsw.Server.Model with parameters of type ShelfModifier 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.