Enum Class EffectType
- All Implemented Interfaces:
Serializable, Comparable<EffectType>, Constable
Represents the possible effect types of building cards.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEffect based on collecting a specific set of cards.Effect applied during the final scoring phase.Effect based on pairs of Inventor cards.Effect triggered at the end of a player's turn.Effect triggered when an event card is resolved.Effect triggered at the end of a round. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EffectTypeReturns the enum constant of this class with the specified name.static EffectType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FINAL
Effect applied during the final scoring phase. -
CARD_SET
Effect based on collecting a specific set of cards. -
INVENTOR_PAIR
Effect based on pairs of Inventor cards. -
ON_EVENT
Effect triggered when an event card is resolved. -
ON_END_TURN
Effect triggered at the end of a player's turn. -
ON_ROUND_END
Effect triggered at the end of a round.
-
-
Constructor Details
-
EffectType
private EffectType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-