Interface GameStateControllerCommonInterface
- All Known Implementing Classes:
ExpertGameStateController,GameStateController
public interface GameStateControllerCommonInterface
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidapplyEffect(int characterIndex) default booleanapplyEffect(int characterIndex, int archipelagoIslandCode) default voidapplyEffect(int characterIndex, Color student) default voidapplyEffect(int characterIndex, Color student, int archipelagoIslandCode) default voidapplyEffect(int characterIndex, List<Color> getStudents, List<Color> putStudents)
-
Method Details
-
applyEffect
default void applyEffect(int characterIndex) throws WrongPhaseException, MoveAlreadyPlayedException, InvalidCharacterIndexException, MoveNotAvailableException, WrongArgumentsException, NotEnoughCoinsException -
applyEffect
default boolean applyEffect(int characterIndex, int archipelagoIslandCode) throws NotEnoughCoinsException, WrongPhaseException, InvalidCharacterIndexException, MoveAlreadyPlayedException, ArchipelagoAlreadyLockedException, InvalidArchipelagoIdException, NoAvailableLockException, MoveNotAvailableException, WrongArgumentsException, GameOverException -
applyEffect
default void applyEffect(int characterIndex, Color student) throws InvalidCharacterIndexException, MoveAlreadyPlayedException, WrongPhaseException, MoveNotAvailableException, StudentNotOnCharacterException, FullDiningRoomLaneException, WrongArgumentsException, NotEnoughCoinsException, StudentsNotInTheDiningRoomException -
applyEffect
default void applyEffect(int characterIndex, Color student, int archipelagoIslandCode) throws InvalidCharacterIndexException, MoveAlreadyPlayedException, WrongPhaseException, MoveNotAvailableException, InvalidArchipelagoIdException, StudentNotOnCharacterException, WrongArgumentsException, NotEnoughCoinsException -
applyEffect
default void applyEffect(int characterIndex, List<Color> getStudents, List<Color> putStudents) throws InvalidCharacterIndexException, MoveAlreadyPlayedException, WrongPhaseException, WrongArgumentsException, InvalidStudentListsLengthException, StudentNotInTheEntranceException, StudentNotOnCharacterException, MoveNotAvailableException, StudentsNotInTheDiningRoomException, FullDiningRoomLaneException, NotEnoughCoinsException - Throws:
InvalidCharacterIndexExceptionMoveAlreadyPlayedExceptionWrongPhaseExceptionWrongArgumentsExceptionInvalidStudentListsLengthExceptionStudentNotInTheEntranceExceptionStudentNotOnCharacterExceptionMoveNotAvailableExceptionStudentsNotInTheDiningRoomExceptionFullDiningRoomLaneExceptionNotEnoughCoinsException
-