public enum ParticleType extends Enum<ParticleType>
| Enum Constant and Description |
|---|
ELASTIC |
POWDER |
SPRING |
TENSILE |
VISCOUS |
WALL |
WATER |
| Modifier and Type | Method and Description |
|---|---|
static ParticleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParticleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParticleType WATER
public static final ParticleType WALL
public static final ParticleType SPRING
public static final ParticleType ELASTIC
public static final ParticleType VISCOUS
public static final ParticleType POWDER
public static final ParticleType TENSILE
public static ParticleType[] values()
for (ParticleType c : ParticleType.values()) System.out.println(c);
public static ParticleType 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 © 2018. All rights reserved.