Package com.epicbot.api.shared.entity
Enum SceneObject.SceneObjectType
- java.lang.Object
-
- java.lang.Enum<SceneObject.SceneObjectType>
-
- com.epicbot.api.shared.entity.SceneObject.SceneObjectType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SceneObject.SceneObjectType>
- Enclosing interface:
- SceneObject
public static enum SceneObject.SceneObjectType extends java.lang.Enum<SceneObject.SceneObjectType>
The different types of scene objects.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOUNDARY
FLOOR_DECORATION
GAMEOBJECT
WALL_DECORATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMask()
static SceneObject.SceneObjectType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SceneObject.SceneObjectType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GAMEOBJECT
public static final SceneObject.SceneObjectType GAMEOBJECT
-
FLOOR_DECORATION
public static final SceneObject.SceneObjectType FLOOR_DECORATION
-
BOUNDARY
public static final SceneObject.SceneObjectType BOUNDARY
-
WALL_DECORATION
public static final SceneObject.SceneObjectType WALL_DECORATION
-
-
Method Detail
-
values
public static SceneObject.SceneObjectType[] 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 (SceneObject.SceneObjectType c : SceneObject.SceneObjectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SceneObject.SceneObjectType 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 namejava.lang.NullPointerException
- if the argument is null
-
getMask
public int getMask()
-
-