Uses of Class
it.polimi.ingsw.server.model.game_logic.exceptions.FullDiningRoomLaneException
Packages that use FullDiningRoomLaneException
Package
Description
-
Uses of FullDiningRoomLaneException in it.polimi.ingsw.server.controller.game_state_controller
Methods in it.polimi.ingsw.server.controller.game_state_controller that throw FullDiningRoomLaneExceptionModifier and TypeMethodDescriptionvoidExpertGameStateController.applyEffect(int characterIndex, Color color) This method applies the effect of the character corresponding to the inputted character index.voidExpertGameStateController.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, Color student) default voidGameStateControllerCommonInterface.applyEffect(int characterIndex, List<Color> getStudents, List<Color> putStudents) 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 FullDiningRoomLaneException in it.polimi.ingsw.server.model.game_logic
Methods in it.polimi.ingsw.server.model.game_logic that throw FullDiningRoomLaneExceptionModifier and TypeMethodDescriptionprotected voidExpertSchoolBoard.addStudentToDiningRoom(Color student) This method adds the inputted student to the diningRoom, adding a coin to the schoolBoard in certain conditionsprotected voidSchoolBoard.addStudentToDiningRoom(Color student) This method adds the inputted student to the diningRoomvoidSchoolBoard.moveFromEntranceToDiningRoom(Color student) voidvoidGameState.moveStudentFromEntranceToDiningRoom(Color student) The current player moves a student from the entrance to the dining roomvoidExpertGameState.playPutOneStudentFromCharacterToDiningRoom(Color color) This method executes the effect of the character with ID 11.default voidGameStateCommonInterface.playPutOneStudentFromCharacterToDiningRoom(Color color) 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) private voidExpertGameState.putOneStudentFromCharacterToDiningRoom(PlayableCharacter selectedCharacter, Color student)