public enum EffectType extends Enum<EffectType>
| Enum Constant and Description |
|---|
DELAYED
Effect is once delayed played.
|
INSTANT
Effect is once played instantly.
|
REPEATING
Effect is several times played instantly.
|
| Modifier and Type | Method and Description |
|---|---|
static EffectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EffectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EffectType INSTANT
public static final EffectType REPEATING
Effect.period.public static final EffectType DELAYED
Effect.delay.public static EffectType[] values()
for (EffectType c : EffectType.values()) System.out.println(c);
public static EffectType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 elMakers. All rights reserved.