Package org.dreambot.api.input.keyboard
Class KeyboardProfile
- java.lang.Object
-
- org.dreambot.api.input.keyboard.KeyboardProfile
-
public class KeyboardProfile extends java.lang.Object
Contains various fields for a typing profile, uses a seeded random in order to give each account a unique profile Auto rebuilds the profile based on newly set words per minute
-
-
Constructor Summary
Constructors Constructor Description KeyboardProfile()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
getWordsPerMinute()
static boolean
isMakeMistakes()
static void
resetToDefaults()
static void
setMakeMistakes(boolean mistakes)
static void
setWordsPerMinute(double wpm)
Sets the word per minute and rebuilds the profile based on the new typing speed.
-
-
-
Method Detail
-
resetToDefaults
public static void resetToDefaults()
-
setWordsPerMinute
public static void setWordsPerMinute(double wpm)
Sets the word per minute and rebuilds the profile based on the new typing speed. Profile fields are rebuilt using a seeded random and a multiplier based on the new speed vs the default speed. words per minute is automatically adjusted based on a seeded random when set. If you put in 100, it will be adjusted and may not end up as 100.- Parameters:
wpm
-
-
getWordsPerMinute
public static double getWordsPerMinute()
-
isMakeMistakes
public static boolean isMakeMistakes()
-
setMakeMistakes
public static void setMakeMistakes(boolean mistakes)
-
-