Package org.rspeer.game.action
Enum ActionOpcode
- java.lang.Object
-
- java.lang.Enum<ActionOpcode>
-
- org.rspeer.game.action.ActionOpcode
-
- All Implemented Interfaces:
Serializable
,Comparable<ActionOpcode>
public enum ActionOpcode extends Enum<ActionOpcode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId()
ActionTargetType
getTargetType()
static ActionOpcode
valueOf(int id)
Returns the enum constant of this type with the specified name.static ActionOpcode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActionOpcode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ITEM_ON_OBJECT
public static final ActionOpcode ITEM_ON_OBJECT
-
COMPONENT_ON_OBJECT
public static final ActionOpcode COMPONENT_ON_OBJECT
-
OBJECT_ACTION_0
public static final ActionOpcode OBJECT_ACTION_0
-
OBJECT_ACTION_1
public static final ActionOpcode OBJECT_ACTION_1
-
OBJECT_ACTION_2
public static final ActionOpcode OBJECT_ACTION_2
-
OBJECT_ACTION_3
public static final ActionOpcode OBJECT_ACTION_3
-
OBJECT_ACTION_4
public static final ActionOpcode OBJECT_ACTION_4
-
EXAMINE_OBJECT
public static final ActionOpcode EXAMINE_OBJECT
-
ITEM_ON_NPC
public static final ActionOpcode ITEM_ON_NPC
-
COMPONENT_ON_NPC
public static final ActionOpcode COMPONENT_ON_NPC
-
NPC_ACTION_0
public static final ActionOpcode NPC_ACTION_0
-
NPC_ACTION_1
public static final ActionOpcode NPC_ACTION_1
-
NPC_ACTION_2
public static final ActionOpcode NPC_ACTION_2
-
NPC_ACTION_3
public static final ActionOpcode NPC_ACTION_3
-
NPC_ACTION_4
public static final ActionOpcode NPC_ACTION_4
-
EXAMINE_NPC
public static final ActionOpcode EXAMINE_NPC
-
ITEM_ON_PLAYER
public static final ActionOpcode ITEM_ON_PLAYER
-
COMPONENT_ON_PLAYER
public static final ActionOpcode COMPONENT_ON_PLAYER
-
PLAYER_ACTION_0
public static final ActionOpcode PLAYER_ACTION_0
-
PLAYER_ACTION_1
public static final ActionOpcode PLAYER_ACTION_1
-
PLAYER_ACTION_2
public static final ActionOpcode PLAYER_ACTION_2
-
PLAYER_ACTION_3
public static final ActionOpcode PLAYER_ACTION_3
-
PLAYER_ACTION_4
public static final ActionOpcode PLAYER_ACTION_4
-
PLAYER_ACTION_5
public static final ActionOpcode PLAYER_ACTION_5
-
PLAYER_ACTION_6
public static final ActionOpcode PLAYER_ACTION_6
-
PLAYER_ACTION_7
public static final ActionOpcode PLAYER_ACTION_7
-
ITEM_ON_PICKABLE
public static final ActionOpcode ITEM_ON_PICKABLE
-
COMPONENT_ON_PICKABLE
public static final ActionOpcode COMPONENT_ON_PICKABLE
-
PICKABLE_ACTION_0
public static final ActionOpcode PICKABLE_ACTION_0
-
PICKABLE_ACTION_1
public static final ActionOpcode PICKABLE_ACTION_1
-
PICKABLE_ACTION_2
public static final ActionOpcode PICKABLE_ACTION_2
-
PICKABLE_ACTION_3
public static final ActionOpcode PICKABLE_ACTION_3
-
PICKABLE_ACTION_4
public static final ActionOpcode PICKABLE_ACTION_4
-
EXAMINE_PICKABLE
public static final ActionOpcode EXAMINE_PICKABLE
-
WALK_HERE
public static final ActionOpcode WALK_HERE
-
INPUT_BUTTON
public static final ActionOpcode INPUT_BUTTON
-
SELECT_COMPONENT
public static final ActionOpcode SELECT_COMPONENT
-
CLOSE_BUTTON
public static final ActionOpcode CLOSE_BUTTON
-
VARFLIP_BUTTON
public static final ActionOpcode VARFLIP_BUTTON
-
VARSET_BUTTON
public static final ActionOpcode VARSET_BUTTON
-
DIALOG_BUTTON
public static final ActionOpcode DIALOG_BUTTON
-
ITEM_ON_ITEM
public static final ActionOpcode ITEM_ON_ITEM
-
COMPONENT_ON_ITEM
public static final ActionOpcode COMPONENT_ON_ITEM
-
ITEM_ACTION_0
public static final ActionOpcode ITEM_ACTION_0
-
ITEM_ACTION_1
public static final ActionOpcode ITEM_ACTION_1
-
ITEM_ACTION_2
public static final ActionOpcode ITEM_ACTION_2
-
ITEM_ACTION_3
public static final ActionOpcode ITEM_ACTION_3
-
ITEM_ACTION_4
public static final ActionOpcode ITEM_ACTION_4
-
USE_ITEM
public static final ActionOpcode USE_ITEM
-
EXAMINE_ITEM
public static final ActionOpcode EXAMINE_ITEM
-
TABLE_ACTION_0
public static final ActionOpcode TABLE_ACTION_0
-
TABLE_ACTION_1
public static final ActionOpcode TABLE_ACTION_1
-
TABLE_ACTION_2
public static final ActionOpcode TABLE_ACTION_2
-
TABLE_ACTION_3
public static final ActionOpcode TABLE_ACTION_3
-
TABLE_ACTION_4
public static final ActionOpcode TABLE_ACTION_4
-
COMPONENT_ON_COMPONENT
public static final ActionOpcode COMPONENT_ON_COMPONENT
-
COMPONENT_ACTION
public static final ActionOpcode COMPONENT_ACTION
-
COMPONENT_ACTION_2
public static final ActionOpcode COMPONENT_ACTION_2
-
CANCEL
public static final ActionOpcode CANCEL
-
DESELECT_COMPONENT
public static final ActionOpcode DESELECT_COMPONENT
-
DESELECT_ITEM
public static final ActionOpcode DESELECT_ITEM
-
-
Method Detail
-
values
public static ActionOpcode[] 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 (ActionOpcode c : ActionOpcode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActionOpcode 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
-
valueOf
public static ActionOpcode valueOf(int id)
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:
id
- 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
-
getId
public int getId()
-
getTargetType
public ActionTargetType getTargetType()
-
-