Uses of Class
it.polimi.ingsw.server.controller.game_state_controller.exceptions.WrongPhaseException
Packages that use WrongPhaseException
-
Uses of WrongPhaseException in it.polimi.ingsw.server.controller.game_state_controller
Methods in it.polimi.ingsw.server.controller.game_state_controller that throw WrongPhaseExceptionModifier and TypeMethodDescriptionvoidExpertGameStateController.applyEffect(int characterIndex) This method applies the effect of the character corresponding to the inputted character index.booleanExpertGameStateController.applyEffect(int characterIndex, int archipelagoIslandCode) This method applies the effect of the character corresponding to the inputted character index.voidExpertGameStateController.applyEffect(int characterIndex, Color color) This method applies the effect of the character corresponding to the inputted character index.voidExpertGameStateController.applyEffect(int characterIndex, Color color, int archipelagoIslandCode) 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) default booleanGameStateControllerCommonInterface.applyEffect(int characterIndex, int archipelagoIslandCode) default voidGameStateControllerCommonInterface.applyEffect(int characterIndex, Color student) default voidGameStateControllerCommonInterface.applyEffect(int characterIndex, Color student, int archipelagoIslandCode) default voidGameStateControllerCommonInterface.applyEffect(int characterIndex, List<Color> getStudents, List<Color> putStudents) private voidExpertGameStateController.applyEffectGenericChecks(int characterIndex) This method performs the generic checks on the input before applying the effectbooleanGameStateController.endActionTurn()This method performs all the controls before ending the player's turn and starting the next player's turnvoidGameStateController.grabStudentsFromCloud(int cloudIndex) This method performs all the checks required by the rules and then, if all of them are met, modifies the gameState grabbing the students from the chosen cloud.booleanExpertGameStateController.moveMotherNature(int nSteps) This method performs all the checks required by the rules and then, if all of them are met, modifies the gameState moving motherNature.booleanGameStateController.moveMotherNature(int nSteps) This method performs all the checks required by the rules and then, if all of them are met, modifies the gameState moving motherNature.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.booleanThis method gets a card in input, verifies if the current phase is PLANNING and then modifies the gameState accordingly