public static enum Particle.ParticleType extends java.lang.Enum<Particle.ParticleType>
Enum Constant and Description |
---|
FIRE
Starting as fire, then becomes smoke
|
REGULAR
Just dissapeares.
|
SMOKE
Just fades.
|
Modifier and Type | Method and Description |
---|---|
boolean |
fade() |
boolean |
fadeToBlack() |
static Particle.ParticleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Particle.ParticleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Particle.ParticleType FIRE
public static final Particle.ParticleType SMOKE
public static final Particle.ParticleType REGULAR
public static Particle.ParticleType[] values()
for (Particle.ParticleType c : Particle.ParticleType.values()) System.out.println(c);
public static Particle.ParticleType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean fade()
public boolean fadeToBlack()