Uses of Class
it.polimi.ingsw.server.model.game_logic.exceptions.EmptyStudentSupplyException
Packages that use EmptyStudentSupplyException
Package
Description
-
Uses of EmptyStudentSupplyException in it.polimi.ingsw.server.controller.game_controller
Methods in it.polimi.ingsw.server.controller.game_controller that throw EmptyStudentSupplyException -
Uses of EmptyStudentSupplyException in it.polimi.ingsw.server.model.game_logic
Methods in it.polimi.ingsw.server.model.game_logic that throw EmptyStudentSupplyExceptionModifier and TypeMethodDescriptionprivate voidExpertGameState.extractCharacters()This method randomly extracts 3 different characters with which the game will be played.voidGameState.fillCloud(int cloudIndex) This method gets int cloudIndex in input identifying a cloud and fills the cloud with students taken from the studentSupplyvoidGameState.fillCloudHandler(FillCloudEvent event) voidGameState.fillClouds()Fills every cloud with students //@throws FullCloudException if one or more of the clouds are not completely empty before being refilledStudentFactory.getNStudents(int n) StudentFactory.getStudent()StudentFactory.getStudent(Color student) This method returns the requested student color from the student supply and updates it accordinglyprivate List<Archipelago>GameState.initializeArchipelagos()This method initializes all the archipelagos adding motherNature and the students as the rulebook commandsprotected List<SchoolBoard>ExpertGameState.initializeSchoolBoards()This method initializes the schoolBoards according to the appropriate strategy depending on the number of players.protected List<SchoolBoard>GameState.initializeSchoolBoards()This method initializes the schoolBoards according to the appropriate strategy depending on the number of players.voidExpertGameState.refillCharacter()This method refills the PlayableCHaracter that was played during the turndefault voidGameStateCommonInterface.refillCharacter()private voidExpertGameState.refillGivenCharacter(PlayableCharacter playableCharacter) This method refills the PlayableCharactersWithStudents that may have been used during a turnConstructors in it.polimi.ingsw.server.model.game_logic that throw EmptyStudentSupplyExceptionModifierConstructorDescriptionprotectedExpertGameState(int playersNumber, List<PlayableCharacter> availableCharacters) ONLY FOR TESTING -
Uses of EmptyStudentSupplyException in it.polimi.ingsw.server.model.game_logic.number_of_player_strategy
Methods in it.polimi.ingsw.server.model.game_logic.number_of_player_strategy that throw EmptyStudentSupplyExceptionModifier and TypeMethodDescriptionExpertFourPlayerStrategy.initializeSchoolBoards(StudentFactory studentFactory) ExpertThreePlayerStrategy.initializeSchoolBoards(StudentFactory studentFactory) ExpertTwoPlayerStrategy.initializeSchoolBoards(StudentFactory studentFactory) FourPlayerStrategy.initializeSchoolBoards(StudentFactory studentFactory) NumberOfPlayersStrategy.initializeSchoolBoards(StudentFactory studentFactory) ThreePlayerStrategy.initializeSchoolBoards(StudentFactory studentFactory) TwoPlayerStrategy.initializeSchoolBoards(StudentFactory studentFactory)