public static enum Sprite.BoundaryPolicy extends java.lang.Enum<Sprite.BoundaryPolicy>
Enum Constant and Description |
---|
INVISIBLE
Set sprite invisible.
|
JUMP_BACK
Jump back to the opposite boundary.
|
NONE
Do nothing.
|
STOP
Stop at the boundary.
|
Modifier and Type | Method and Description |
---|---|
static Sprite.BoundaryPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sprite.BoundaryPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sprite.BoundaryPolicy INVISIBLE
public static final Sprite.BoundaryPolicy JUMP_BACK
public static final Sprite.BoundaryPolicy NONE
public static final Sprite.BoundaryPolicy STOP
public static Sprite.BoundaryPolicy 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 static Sprite.BoundaryPolicy[] values()
for (Sprite.BoundaryPolicy c : Sprite.BoundaryPolicy.values()) System.out.println(c);