Package it.polimi.ingsw.Controller
Class ChooseCloudTileTest
java.lang.Object
it.polimi.ingsw.Controller.ChooseCloudTileTest
-
Field Summary
Modifier and TypeFieldDescription(package private) final Controller
(package private) final Model
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
2 ChooseCloudAction actions in a row throw an exception because before a ChooseCloudAction should only be present a PlayCharacterCard action or MoveMotherNature action (due to the check order taken in validate method, the controller does not recognize immediately that this action has already been executed, anyway the result is the same that is to say, the validation fails)void
-
Field Details
-
model
-
controller
-
-
Constructor Details
-
ChooseCloudTileTest
public ChooseCloudTileTest()
-
-
Method Details
-
PreviousActionNotValid
2 ChooseCloudAction actions in a row throw an exception because before a ChooseCloudAction should only be present a PlayCharacterCard action or MoveMotherNature action (due to the check order taken in validate method, the controller does not recognize immediately that this action has already been executed, anyway the result is the same that is to say, the validation fails)- Throws:
Exception
-
playerCanTakeStudentsFromCloud
- Throws:
Exception
-
CloudIndexOutOfBound
- Throws:
Exception
-
RepeatedActionException
- Throws:
Exception
-
EmptyIslandException
- Throws:
Exception
-
FullEntranceExceptionTest
- Throws:
Exception
-