java.io.Serializable
, java.lang.Comparable<MapCursor.Type>
public static enum MapCursor.Type extends java.lang.Enum<MapCursor.Type>
Enum Constant | Description |
---|---|
BLUE_POINTER |
|
GREEN_POINTER |
|
MANSION |
|
RED_MARKER |
|
RED_POINTER |
|
SMALL_WHITE_CIRCLE |
|
TEMPLE |
|
WHITE_CIRCLE |
|
WHITE_CROSS |
|
WHITE_POINTER |
Modifier and Type | Method | Description |
---|---|---|
static MapCursor.Type |
byValue(byte value) |
Deprecated.
Magic value
|
byte |
getValue() |
Deprecated.
Magic value
|
static MapCursor.Type |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MapCursor.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapCursor.Type WHITE_POINTER
public static final MapCursor.Type GREEN_POINTER
public static final MapCursor.Type RED_POINTER
public static final MapCursor.Type BLUE_POINTER
public static final MapCursor.Type WHITE_CROSS
public static final MapCursor.Type RED_MARKER
public static final MapCursor.Type WHITE_CIRCLE
public static final MapCursor.Type SMALL_WHITE_CIRCLE
public static final MapCursor.Type MANSION
public static final MapCursor.Type TEMPLE
public static MapCursor.Type[] values()
for (MapCursor.Type c : MapCursor.Type.values()) System.out.println(c);
public static MapCursor.Type 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@Deprecated public byte getValue()
@Deprecated public static MapCursor.Type byValue(byte value)
value
- the valueCopyright © 2018. All rights reserved.