Package com.kraken.api.simulation
Enum SimulationAction.Type
- java.lang.Object
-
- java.lang.Enum<SimulationAction.Type>
-
- com.kraken.api.simulation.SimulationAction.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SimulationAction.Type>
- Enclosing class:
- SimulationAction
public static enum SimulationAction.Type extends java.lang.Enum<SimulationAction.Type>
Simulation action kind.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAST_SPELLCUSTOMEQUIP_ITEMMOVENPC_INTERACTSWITCH_PRAYERWAIT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SimulationAction.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SimulationAction.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WAIT
public static final SimulationAction.Type WAIT
-
MOVE
public static final SimulationAction.Type MOVE
-
SWITCH_PRAYER
public static final SimulationAction.Type SWITCH_PRAYER
-
EQUIP_ITEM
public static final SimulationAction.Type EQUIP_ITEM
-
NPC_INTERACT
public static final SimulationAction.Type NPC_INTERACT
-
CAST_SPELL
public static final SimulationAction.Type CAST_SPELL
-
CUSTOM
public static final SimulationAction.Type CUSTOM
-
-
Method Detail
-
values
public static SimulationAction.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 (SimulationAction.Type c : SimulationAction.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 SimulationAction.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
-
-