Enum Class EffectType

java.lang.Object
java.lang.Enum<EffectType>
com.cmiurca.saintseiyadeckbuilding.saintseiya.EffectType
All Implemented Interfaces:
Serializable, Comparable<EffectType>, Constable

public enum EffectType extends Enum<EffectType>
EffectType enum, where the effect type is created.
Since:
2023-02-04
  • Enum Constant Details

    • STRENGTHEN

      public static final EffectType STRENGTHEN
      The effect type Strengthen.
    • DISCARD

      public static final EffectType DISCARD
      The effect type Discard.
    • SETTINGGAME

      public static final EffectType SETTINGGAME
      The effect type setting game.
    • ARRIVAL

      public static final EffectType ARRIVAL
      The effect type Arrival.
    • HURT

      public static final EffectType HURT
      The effect type Hurt.
    • DEFEATED

      public static final EffectType DEFEATED
      The effect type defeated.
    • DESTROY

      public static final EffectType DESTROY
      The effect type Destroy.
    • FREEZE

      public static final EffectType FREEZE
      The effect type Freeze.
    • MARKED

      public static final EffectType MARKED
      The effect type Marked.
    • OTHER

      public static final EffectType OTHER
      The effect type Other.
  • Method Details

    • values

      public static EffectType[] 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

      public static EffectType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getDescription

      public String getDescription()
      The getter of the description.
      Returns:
      The description of the effect type.
    • setDescription

      public void setDescription(String description)
      The setter of the description.
      Parameters:
      description - The description of the effect type.
    • getEffectType

      public static EffectType getEffectType(String description)
      The getter of the effect type.
      Parameters:
      description - The description of the effect type.
      Returns:
      The effect type.
    • toString

      public String toString()
      The toString method of the effect type.
      Overrides:
      toString in class Enum<EffectType>
      Returns:
      The description of the effect type.