Package org.dreambot.api.methods.input
Enum CameraMode
- java.lang.Object
-
- java.lang.Enum<CameraMode>
-
- org.dreambot.api.methods.input.CameraMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CameraMode>
public enum CameraMode extends java.lang.Enum<CameraMode>
Camera mode for deciding how the client will make any default camera movements. Certain methods may ignore this.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KEYBOARD_ONLY
The client will use the keyboard onlyMOUSE_ONLY
The client will use the mouse onlyMOUSE_OR_KEYBOARD
The client will randomly decide between the mouse and keyboardSCRIPT_EVENTS
The client will fire script events to set camera
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CameraMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CameraMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MOUSE_OR_KEYBOARD
public static final CameraMode MOUSE_OR_KEYBOARD
The client will randomly decide between the mouse and keyboard
-
MOUSE_ONLY
public static final CameraMode MOUSE_ONLY
The client will use the mouse only
-
KEYBOARD_ONLY
public static final CameraMode KEYBOARD_ONLY
The client will use the keyboard only
-
SCRIPT_EVENTS
public static final CameraMode SCRIPT_EVENTS
The client will fire script events to set camera
-
-
Method Detail
-
values
public static CameraMode[] 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 (CameraMode c : CameraMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CameraMode 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
-
-