public static enum SpaceState.DrawMode extends java.lang.Enum<SpaceState.DrawMode>
A DrawMode is a procedure by which a SpaceState determines the order in which to draw SpaceObjects with the same draw priority over one another.
SpaceObject
Enum Constant and Description |
---|
FLAT
SpaceObjects with the same draw priority are drawn in an arbitrary
order.
|
OVER
SpaceObjects with the same draw priority are drawn with the ones with
higher y-coordinates in front.
|
UNDER
SpaceObjects with the same draw priority are drawn with the ones with
lower y-coordinates in front.
|
Modifier and Type | Method and Description |
---|---|
static SpaceState.DrawMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpaceState.DrawMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpaceState.DrawMode FLAT
public static final SpaceState.DrawMode OVER
public static final SpaceState.DrawMode UNDER
public static SpaceState.DrawMode[] values()
for (SpaceState.DrawMode c : SpaceState.DrawMode.values()) System.out.println(c);
public static SpaceState.DrawMode 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