Package it.polimi.ingsw.Model
Class Card09
java.lang.Object
it.polimi.ingsw.Model.CharacterCard
it.polimi.ingsw.Model.StatelessEffect
it.polimi.ingsw.Model.Card09
- All Implemented Interfaces:
Serializable
EFFECT: Choose a color of Student: during the influence calculation this turn, that color adds no influence
- 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
-
Card09
-
-
Method Details
-
overridableCheckInput
Refer to:CharacterCard.overridableCheckInput(CharacterCardInput)
for further information- Specified by:
overridableCheckInput
in classCharacterCard
- Parameters:
input
- CharacterCardInput should contain:- A valid PawnColour >
- 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
-