Package org.rspeer.game.event
Enum RenderLayer
- java.lang.Object
-
- java.lang.Enum<RenderLayer>
-
- org.rspeer.game.event.RenderLayer
-
- All Implemented Interfaces:
Serializable
,Comparable<RenderLayer>
public enum RenderLayer extends Enum<RenderLayer>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER_ENTITIES
ALWAYS_ON_TOP
BEFORE_ENTITIES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RenderLayer
valueOf(String name)
Returns the enum constant of this type with the specified name.static RenderLayer[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS_ON_TOP
public static final RenderLayer ALWAYS_ON_TOP
-
AFTER_ENTITIES
public static final RenderLayer AFTER_ENTITIES
-
BEFORE_ENTITIES
public static final RenderLayer BEFORE_ENTITIES
-
-
Method Detail
-
values
public static RenderLayer[] 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 (RenderLayer c : RenderLayer.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RenderLayer valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-