Package it.polimi.ingsw.Model
Class Card04
java.lang.Object
it.polimi.ingsw.Model.CharacterCard
it.polimi.ingsw.Model.StatelessEffect
it.polimi.ingsw.Model.Card04
- All Implemented Interfaces:
Serializable
EFFECT: You may move Mother Nature up to 2
additional Islands than is indicated by the Assistant
card you've played.
- See Also:
-
Field Summary
Fields inherited from class it.polimi.ingsw.Model.CharacterCard
context, cost, id, timeUsed
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRefer to:CharacterCard.overridableCheckInput(CharacterCardInput)
for further informationprotected void
Refer to:CharacterCard.unsafeApplyEffect(CharacterCardInput)
for further informationMethods inherited from class it.polimi.ingsw.Model.CharacterCard
checkInput, getCost, getId, getTimeUsed, unsafeUseCard
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
Card04
-
-
Method Details
-
overridableCheckInput
Refer to:CharacterCard.overridableCheckInput(CharacterCardInput)
for further information- Specified by:
overridableCheckInput
in classCharacterCard
- Parameters:
input
- No extra parameters required- Returns:
- a non empty
OptionalValue
containing a validation error. Or an empty one when the input is correct
-
unsafeApplyEffect
Refer to:CharacterCard.unsafeApplyEffect(CharacterCardInput)
for further information- Specified by:
unsafeApplyEffect
in classCharacterCard
- Parameters:
input
- verified user's input
-