Enum BasicObjectVertex.Behavior
- java.lang.Object
-
- java.lang.Enum<BasicObjectVertex.Behavior>
-
- com.runemate.game.api.hybrid.location.navigation.web.vertex_types.objects.BasicObjectVertex.Behavior
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BasicObjectVertex.Behavior>
- Enclosing class:
- BasicObjectVertex
public static enum BasicObjectVertex.Behavior extends java.lang.Enum<BasicObjectVertex.Behavior>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGES_REGION
A behavior that expects the object to cause the current region to change upon successful traversalDESPAWNS
A behavior that expects the object to despawn, as in disappear, unload, etc.DISAPPEARING
Deprecated.MAP_ENTRANCE
Deprecated.PASS_THROUGH
A behavior that indicates that the player passes through, crosses, or otherwise moves past the object.UNDEFINED
Results in using a generic behavior that works in most cases but doesn't work well for much
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BasicObjectVertex.Behavior
opcode(int opcode)
static BasicObjectVertex.Behavior
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BasicObjectVertex.Behavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final BasicObjectVertex.Behavior UNDEFINED
Results in using a generic behavior that works in most cases but doesn't work well for much
-
DESPAWNS
public static final BasicObjectVertex.Behavior DESPAWNS
A behavior that expects the object to despawn, as in disappear, unload, etc.
-
PASS_THROUGH
public static final BasicObjectVertex.Behavior PASS_THROUGH
A behavior that indicates that the player passes through, crosses, or otherwise moves past the object.
-
CHANGES_REGION
public static final BasicObjectVertex.Behavior CHANGES_REGION
A behavior that expects the object to cause the current region to change upon successful traversal
-
DISAPPEARING
@Deprecated public static final BasicObjectVertex.Behavior DISAPPEARING
Deprecated.
-
MAP_ENTRANCE
@Deprecated public static final BasicObjectVertex.Behavior MAP_ENTRANCE
Deprecated.
-
-
Method Detail
-
values
public static BasicObjectVertex.Behavior[] 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 (BasicObjectVertex.Behavior c : BasicObjectVertex.Behavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BasicObjectVertex.Behavior 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
-
opcode
public static BasicObjectVertex.Behavior opcode(int opcode)
-
-