Package com.epicbot.api.shared.bot
Interface IMouseSettings.IMouseMotionSettings
- All Known Implementing Classes:
MouseMotionSettings
- Enclosing interface:
IMouseSettings
public static interface IMouseSettings.IMouseMotionSettings
-
Method Summary
Modifier and TypeMethodDescriptiondoubleThe minimum deviation divider for the sinusoidal deviation function.intThe number of steps before the last step the noise and deviation effects start to fade.doublegetNoise()The minimum amount of noise that is added to each step.intThe minimum reaction time.intThe minimum variation that is added to the reaction time.intThe minimum distance for which a movement is considered a 'small' movement and some other settings will be used.intgetSteps()The minimum amount of steps that is taken to reach the target.intHow many locations need to be visited between start and end point.intHow many locations need to be visited between start and end point.intThe minimum amount of steps that is taken to reach the target.voidsetDeviation(double deviation) The minimum deviation divider for the sinusoidal deviation function.voidsetEffectFadeSteps(int effectFadeSteps) The number of steps before the last step the noise and deviation effects start to fade.voidsetNoise(double noise) The minimum amount of noise that is added to each step.voidsetReactionTime(int reactionTime) The minimum reaction time.voidsetReactionTimeVariation(int reactionTimeVariation) The minimum variation that is added to the reaction time.voidsetSmallMovementDistance(int smallMovementDistance) The minimum distance for which a movement is considered a 'small' movement and some other settings will be used.voidsetSteps(int steps) The minimum amount of steps that is taken to reach the target.voidsetStepsDivider(int stepsDivider) How many locations need to be visited between start and end point.voidsetStepsDividerSmall(int stepsDividerSmall) How many locations need to be visited between start and end point.voidsetStepsForSmallMovement(int stepsForSmallMovement) The minimum amount of steps that is taken to reach the target.
-
Method Details
-
getSteps
int getSteps()The minimum amount of steps that is taken to reach the target.- Returns:
-
setSteps
void setSteps(int steps) The minimum amount of steps that is taken to reach the target. -
getStepsDivider
int getStepsDivider()How many locations need to be visited between start and end point. More steps means more smooth movement.
Increasing this divider means less steps and decreasing means more steps.- Returns:
-
setStepsDivider
void setStepsDivider(int stepsDivider) How many locations need to be visited between start and end point. More steps means more smooth movement.
Increasing this divider means less steps and decreasing means more steps. -
getSmallMovementDistance
int getSmallMovementDistance()The minimum distance for which a movement is considered a 'small' movement and some other settings will be used.- Returns:
-
setSmallMovementDistance
void setSmallMovementDistance(int smallMovementDistance) The minimum distance for which a movement is considered a 'small' movement and some other settings will be used. -
getStepsForSmallMovement
int getStepsForSmallMovement()The minimum amount of steps that is taken to reach the target.- Returns:
-
setStepsForSmallMovement
void setStepsForSmallMovement(int stepsForSmallMovement) The minimum amount of steps that is taken to reach the target. -
getStepsDividerSmall
int getStepsDividerSmall()How many locations need to be visited between start and end point. More steps means more smooth movement.
Increasing this divider means less steps and decreasing means more steps.- Returns:
-
setStepsDividerSmall
void setStepsDividerSmall(int stepsDividerSmall) How many locations need to be visited between start and end point. More steps means more smooth movement.
Increasing this divider means less steps and decreasing means more steps. -
getEffectFadeSteps
int getEffectFadeSteps()The number of steps before the last step the noise and deviation effects start to fade. Decreases linearly to 0 at the end of the mouse movement.- Returns:
-
setEffectFadeSteps
void setEffectFadeSteps(int effectFadeSteps) The number of steps before the last step the noise and deviation effects start to fade. Decreases linearly to 0 at the end of the mouse movement. -
getReactionTime
int getReactionTime()The minimum reaction time. This is used for when the cursor overshoots the target and will sleep before starting the next movement. -
setReactionTime
void setReactionTime(int reactionTime) The minimum reaction time. This is used for when the cursor overshoots the target and will sleep before starting the next movement. -
getReactionTimeVariation
int getReactionTimeVariation()The minimum variation that is added to the reaction time. -
setReactionTimeVariation
void setReactionTimeVariation(int reactionTimeVariation) The minimum variation that is added to the reaction time. -
getNoise
double getNoise()The minimum amount of noise that is added to each step. Bigger value means less noise.- Returns:
-
setNoise
void setNoise(double noise) The minimum amount of noise that is added to each step. Bigger value means less noise. -
getDeviation
double getDeviation()The minimum deviation divider for the sinusoidal deviation function. Higher values means less deviation. -
setDeviation
void setDeviation(double deviation) The minimum deviation divider for the sinusoidal deviation function. Higher values means less deviation.
-