Uses of Class
it.polimi.ingsw.server.controller.game_state_controller.exceptions.StudentNotInTheEntranceException
Packages that use StudentNotInTheEntranceException
Package
Description
-
Uses of StudentNotInTheEntranceException in it.polimi.ingsw.server.controller.game_state_controller
Methods in it.polimi.ingsw.server.controller.game_state_controller that throw StudentNotInTheEntranceExceptionModifier and TypeMethodDescriptionvoidExpertGameStateController.applyEffect(int characterIndex, List<Color> getStudents, List<Color> giveStudents) This method applies the effect of the character corresponding to the inputted character index.default voidGameStateControllerCommonInterface.applyEffect(int characterIndex, List<Color> getStudents, List<Color> putStudents) voidGameStateController.moveStudentFromEntranceToArchipelago(Color student, List<Integer> archipelagoIslandCodes) This method performs all the checks required by the rules and then, if all of them are met, modifies the gameState moving the inputted student to the inputted archipelago.voidGameStateController.moveStudentFromEntranceToDiningRoom(Color student) This method performs all the checks required by the rules and then, if all of them are met, modifies the gameState moving the inputted student to its corresponding diningRoomLane. -
Uses of StudentNotInTheEntranceException in it.polimi.ingsw.server.model.game_logic
Methods in it.polimi.ingsw.server.model.game_logic that throw StudentNotInTheEntranceExceptionModifier and TypeMethodDescriptionvoidSchoolBoard.moveFromEntranceToDiningRoom(Color student) voidGameState.moveStudentFromEntranceToArchipelago(Color student, List<Integer> archipelagoIslandCodes) The current player moves a student from the entrance to an archipelagovoidGameState.moveStudentFromEntranceToArchipelagoHandler(MoveStudentFromEntranceToArchipelagoEvent event) voidvoidGameState.moveStudentFromEntranceToDiningRoom(Color student) The current player moves a student from the entrance to the dining roomvoidExpertGameState.playSwapThreeStudentsBetweenCharacterAndEntrance(List<Color> studentsFromCharacter, List<Color> studentsFromEntrance) This method executes the effect of the character with ID 7.default voidGameStateCommonInterface.playSwapThreeStudentsBetweenCharacterAndEntrance(List<Color> students1, List<Color> students2) voidExpertGameState.playSwapTwoStudentsBetweenEntranceAndDiningRoom(List<Color> studentFromEntrance, List<Color> studentsFromDiningRoom) This method executes the effect of the character with ID 10.default voidGameStateCommonInterface.playSwapTwoStudentsBetweenEntranceAndDiningRoom(List<Color> students1, List<Color> students2) voidSchoolBoard.removeStudentFromEntrance(Color student)