Package com.osrsbots.orb.api.util
Enum GameAction.Type
- java.lang.Object
-
- java.lang.Enum<GameAction.Type>
-
- com.osrsbots.orb.api.util.GameAction.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GameAction.Type>
- Enclosing class:
- GameAction
public static enum GameAction.Type extends java.lang.Enum<GameAction.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTOR_LEFTACTOR_RIGHTNPC_LEFTOBJECT_LEFTOBJECT_RIGHTPLAYER_LEFTWALK_LEFTWALK_RIGHTWIDGET_LEFTWIDGET_RIGHT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable GameAction.Typeof(int i)static GameAction.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GameAction.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WALK_LEFT
public static final GameAction.Type WALK_LEFT
-
WALK_RIGHT
public static final GameAction.Type WALK_RIGHT
-
OBJECT_LEFT
public static final GameAction.Type OBJECT_LEFT
-
OBJECT_RIGHT
public static final GameAction.Type OBJECT_RIGHT
-
ACTOR_LEFT
public static final GameAction.Type ACTOR_LEFT
-
ACTOR_RIGHT
public static final GameAction.Type ACTOR_RIGHT
-
WIDGET_LEFT
public static final GameAction.Type WIDGET_LEFT
-
WIDGET_RIGHT
public static final GameAction.Type WIDGET_RIGHT
-
PLAYER_LEFT
public static final GameAction.Type PLAYER_LEFT
-
NPC_LEFT
public static final GameAction.Type NPC_LEFT
-
-
Method Detail
-
values
public static GameAction.Type[] 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 (GameAction.Type c : GameAction.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GameAction.Type 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
-
of
@Nullable public static @Nullable GameAction.Type of(int i)
-
-