public enum FluidSpriteType extends java.lang.Enum<FluidSpriteType>
Enum Constant and Description |
---|
FLOWING
The sprite that
Fluid.getFlowing() refers to. |
FROZEN
A completely frozen sprite - it has no animation.
|
STILL
The sprite that
Fluid.getStill() refers to. |
Modifier and Type | Method and Description |
---|---|
static FluidSpriteType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FluidSpriteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FluidSpriteType FROZEN
STILL
(which
it is derived from), but it is just repeating (so that you don't have to calculate multiple quads for a single
face whenever the animation crosses over the border of the original sprite)public static final FluidSpriteType STILL
Fluid.getStill()
refers to.public static final FluidSpriteType FLOWING
Fluid.getFlowing()
refers to.public static FluidSpriteType[] values()
for (FluidSpriteType c : FluidSpriteType.values()) System.out.println(c);
public static FluidSpriteType 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 null