com.b3dgs.lionengine.game.map
Enum Border20
java.lang.Object
java.lang.Enum<Border20>
com.b3dgs.lionengine.game.map.Border20
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Border20>
public enum Border20
- extends java.lang.Enum<Border20>
Represents the list of supported angles for area linking.
- See Also:
Border20Map
Method Summary |
static Border20 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Border20[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
TOP
public static final Border20 TOP
RIGHT
public static final Border20 RIGHT
DOWN
public static final Border20 DOWN
LEFT
public static final Border20 LEFT
TOP_LEFT
public static final Border20 TOP_LEFT
TOP_RIGHT
public static final Border20 TOP_RIGHT
DOWN_RIGHT
public static final Border20 DOWN_RIGHT
DOWN_LEFT
public static final Border20 DOWN_LEFT
CORNER_TOP_LEFT
public static final Border20 CORNER_TOP_LEFT
CORNER_TOP_RIGHT
public static final Border20 CORNER_TOP_RIGHT
CORNER_DOWN_RIGHT
public static final Border20 CORNER_DOWN_RIGHT
CORNER_DOWN_LEFT
public static final Border20 CORNER_DOWN_LEFT
CORNER_OUT_TOP_DOWN
public static final Border20 CORNER_OUT_TOP_DOWN
CORNER_OUT_DOWN_TOP
public static final Border20 CORNER_OUT_DOWN_TOP
CORNER_IN_DOWN_TOP
public static final Border20 CORNER_IN_DOWN_TOP
CORNER_IN_TOP_DOWN
public static final Border20 CORNER_IN_TOP_DOWN
CENTER
public static final Border20 CENTER
TOP_MIDDLE
public static final Border20 TOP_MIDDLE
DOWN_MIDDLE
public static final Border20 DOWN_MIDDLE
RIGHT_MIDDLE
public static final Border20 RIGHT_MIDDLE
LEFT_MIDDLE
public static final Border20 LEFT_MIDDLE
UNKNOWN
public static final Border20 UNKNOWN
NONE
public static final Border20 NONE
values
public static Border20[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Border20 c : Border20.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Border20 valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null