public enum MapObjectType extends java.lang.Enum<MapObjectType>
Enum Constant and Description |
---|
AREA |
COLLISIONBOX |
CREATURE |
EMITTER |
LIGHTSOURCE |
PROP |
SPAWNPOINT |
STATICSHADOW |
TRIGGER |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UNDEFINED_MAPOBJECTTYPE |
Modifier and Type | Method and Description |
---|---|
static MapObjectType |
fromOrdinal(int n) |
static MapObjectType |
get(java.lang.String mapObjectType) |
static MapObjectType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapObjectType AREA
public static final MapObjectType COLLISIONBOX
public static final MapObjectType EMITTER
public static final MapObjectType LIGHTSOURCE
public static final MapObjectType PROP
public static final MapObjectType CREATURE
public static final MapObjectType SPAWNPOINT
public static final MapObjectType TRIGGER
public static final MapObjectType STATICSHADOW
public static final java.lang.String UNDEFINED_MAPOBJECTTYPE
public static MapObjectType[] values()
for (MapObjectType c : MapObjectType.values()) System.out.println(c);
public static MapObjectType 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 MapObjectType fromOrdinal(int n)
public static MapObjectType get(java.lang.String mapObjectType)