Enum CardUseAbilityEvent.AbilityType
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum CardUseAbilityEvent.AbilityType extends Enum<CardUseAbilityEvent.AbilityType>
The AbilityType of the ability used.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OFFENSIVEAbilities activated when the card attacks its target on a specific chance.
DEFENSIVEAbilities activated when the card is damaged on a specific chance.
DAMAGEAbilities activated when the card takes any kind of damage.
USER_OFFENSIVEAbilities activated when the card's owner attacks its target on a specific chance.
USER_DEFENSIVEAbilities activated when the card's owner is damaged on a specific chance.
USER_DAMAGEAbilities activated when the card's owner takes any kind of damage.
PASSIVEAbilities used at specific intervals.
-
Method Summary
Modifier and Type Method Description final CardUseAbilityEvent.AbilityTypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<CardUseAbilityEvent.AbilityType>values()Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final CardUseAbilityEvent.AbilityType valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<CardUseAbilityEvent.AbilityType> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-