Package com.epicbot.api.shared.bot.mouse
Class MouseMotionSettings
- java.lang.Object
-
- com.epicbot.api.shared.bot.mouse.MouseMotionSettings
-
- All Implemented Interfaces:
IMouseSettings.IMouseMotionSettings
public class MouseMotionSettings extends java.lang.Object implements IMouseSettings.IMouseMotionSettings
-
-
Constructor Summary
Constructors Constructor Description MouseMotionSettings()
MouseMotionSettings(int minSteps, int maxSteps, int minStepsDivider, int maxStepsDivider, int minEffectFadeSteps, int maxEffectFadeSteps, int minReactionTime, int maxReactionTime, int minReactionTimeVariation, int maxReactionTimeVariation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getMaxDeviation()
int
getMaxEffectFadeSteps()
The number of steps before the last step the noise and deviation effects start to fade.double
getMaxNoise()
int
getMaxReactionTime()
int
getMaxReactionTimeVariation()
int
getMaxSmallMovementDistance()
The maximum distance for which a movement is considered a 'small' movement and some other settings will be used.int
getMaxSteps()
The maximum amount of steps that is taken to reach the target.int
getMaxStepsDivider()
How many locations need to be visited between start and end point.int
getMaxStepsDividerSmall()
int
getMaxStepsForSmallMovement()
double
getMinDeviation()
int
getMinEffectFadeSteps()
The number of steps before the last step the noise and deviation effects start to fade.double
getMinNoise()
int
getMinReactionTime()
int
getMinReactionTimeVariation()
int
getMinSmallMovementDistance()
The minimum distance for which a movement is considered a 'small' movement and some other settings will be used.int
getMinSteps()
The minimum amount of steps that is taken to reach the target.int
getMinStepsDivider()
How many locations need to be visited between start and end point.int
getMinStepsDividerSmall()
int
getMinStepsForSmallMovement()
void
setMaxDeviation(double maxDeviation)
void
setMaxEffectFadeSteps(int maxEffectFadeSteps)
void
setMaxNoise(double maxNoise)
void
setMaxReactionTime(int maxReactionTime)
void
setMaxReactionTimeVariation(int maxReactionTimeVariation)
void
setMaxSmallMovementDistance(int maxSmallMovementDistance)
void
setMaxSteps(int maxSteps)
void
setMaxStepsDivider(int maxStepsDivider)
void
setMaxStepsDividerSmall(int maxStepsDividerSmall)
void
setMaxStepsForSmallMovement(int maxStepsForSmallMovement)
void
setMinDeviation(double minDeviation)
void
setMinEffectFadeSteps(int minEffectFadeSteps)
void
setMinNoise(double minNoise)
void
setMinReactionTime(int minReactionTime)
void
setMinReactionTimeVariation(int minReactionTimeVariation)
void
setMinSmallMovementDistance(int minSmallMovementDistance)
void
setMinSteps(int minSteps)
void
setMinStepsDivider(int minStepsDivider)
void
setMinStepsDividerSmall(int minStepsDividerSmall)
void
setMinStepsForSmallMovement(int minStepsForSmallMovement)
-
-
-
Constructor Detail
-
MouseMotionSettings
public MouseMotionSettings()
-
MouseMotionSettings
public MouseMotionSettings(int minSteps, int maxSteps, int minStepsDivider, int maxStepsDivider, int minEffectFadeSteps, int maxEffectFadeSteps, int minReactionTime, int maxReactionTime, int minReactionTimeVariation, int maxReactionTimeVariation)
-
-
Method Detail
-
getMinSteps
public int getMinSteps()
Description copied from interface:IMouseSettings.IMouseMotionSettings
The minimum amount of steps that is taken to reach the target.- Specified by:
getMinSteps
in interfaceIMouseSettings.IMouseMotionSettings
- Returns:
-
setMinSteps
public void setMinSteps(int minSteps)
-
getMaxSteps
public int getMaxSteps()
Description copied from interface:IMouseSettings.IMouseMotionSettings
The maximum amount of steps that is taken to reach the target.- Specified by:
getMaxSteps
in interfaceIMouseSettings.IMouseMotionSettings
- Returns:
-
setMaxSteps
public void setMaxSteps(int maxSteps)
-
getMinStepsDivider
public int getMinStepsDivider()
Description copied from interface:IMouseSettings.IMouseMotionSettings
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.- Specified by:
getMinStepsDivider
in interfaceIMouseSettings.IMouseMotionSettings
- Returns:
-
setMinStepsDivider
public void setMinStepsDivider(int minStepsDivider)
-
getMaxStepsDivider
public int getMaxStepsDivider()
Description copied from interface:IMouseSettings.IMouseMotionSettings
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.- Specified by:
getMaxStepsDivider
in interfaceIMouseSettings.IMouseMotionSettings
- Returns:
-
setMaxStepsDivider
public void setMaxStepsDivider(int maxStepsDivider)
-
getMinSmallMovementDistance
public int getMinSmallMovementDistance()
Description copied from interface:IMouseSettings.IMouseMotionSettings
The minimum distance for which a movement is considered a 'small' movement and some other settings will be used.- Specified by:
getMinSmallMovementDistance
in interfaceIMouseSettings.IMouseMotionSettings
- Returns:
-
setMinSmallMovementDistance
public void setMinSmallMovementDistance(int minSmallMovementDistance)
-
getMaxSmallMovementDistance
public int getMaxSmallMovementDistance()
Description copied from interface:IMouseSettings.IMouseMotionSettings
The maximum distance for which a movement is considered a 'small' movement and some other settings will be used.- Specified by:
getMaxSmallMovementDistance
in interfaceIMouseSettings.IMouseMotionSettings
- Returns:
-
setMaxSmallMovementDistance
public void setMaxSmallMovementDistance(int maxSmallMovementDistance)
-
getMinStepsForSmallMovement
public int getMinStepsForSmallMovement()
- Specified by:
getMinStepsForSmallMovement
in interfaceIMouseSettings.IMouseMotionSettings
-
setMinStepsForSmallMovement
public void setMinStepsForSmallMovement(int minStepsForSmallMovement)
-
getMaxStepsForSmallMovement
public int getMaxStepsForSmallMovement()
- Specified by:
getMaxStepsForSmallMovement
in interfaceIMouseSettings.IMouseMotionSettings
-
setMaxStepsForSmallMovement
public void setMaxStepsForSmallMovement(int maxStepsForSmallMovement)
-
getMinStepsDividerSmall
public int getMinStepsDividerSmall()
- Specified by:
getMinStepsDividerSmall
in interfaceIMouseSettings.IMouseMotionSettings
-
setMinStepsDividerSmall
public void setMinStepsDividerSmall(int minStepsDividerSmall)
-
getMaxStepsDividerSmall
public int getMaxStepsDividerSmall()
- Specified by:
getMaxStepsDividerSmall
in interfaceIMouseSettings.IMouseMotionSettings
-
setMaxStepsDividerSmall
public void setMaxStepsDividerSmall(int maxStepsDividerSmall)
-
getMinEffectFadeSteps
public int getMinEffectFadeSteps()
Description copied from interface:IMouseSettings.IMouseMotionSettings
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.- Specified by:
getMinEffectFadeSteps
in interfaceIMouseSettings.IMouseMotionSettings
- Returns:
-
setMinEffectFadeSteps
public void setMinEffectFadeSteps(int minEffectFadeSteps)
-
getMaxEffectFadeSteps
public int getMaxEffectFadeSteps()
Description copied from interface:IMouseSettings.IMouseMotionSettings
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.- Specified by:
getMaxEffectFadeSteps
in interfaceIMouseSettings.IMouseMotionSettings
- Returns:
-
setMaxEffectFadeSteps
public void setMaxEffectFadeSteps(int maxEffectFadeSteps)
-
getMinReactionTime
public int getMinReactionTime()
- Specified by:
getMinReactionTime
in interfaceIMouseSettings.IMouseMotionSettings
-
setMinReactionTime
public void setMinReactionTime(int minReactionTime)
-
getMaxReactionTime
public int getMaxReactionTime()
- Specified by:
getMaxReactionTime
in interfaceIMouseSettings.IMouseMotionSettings
-
setMaxReactionTime
public void setMaxReactionTime(int maxReactionTime)
-
getMinReactionTimeVariation
public int getMinReactionTimeVariation()
- Specified by:
getMinReactionTimeVariation
in interfaceIMouseSettings.IMouseMotionSettings
-
setMinReactionTimeVariation
public void setMinReactionTimeVariation(int minReactionTimeVariation)
-
getMaxReactionTimeVariation
public int getMaxReactionTimeVariation()
- Specified by:
getMaxReactionTimeVariation
in interfaceIMouseSettings.IMouseMotionSettings
-
setMaxReactionTimeVariation
public void setMaxReactionTimeVariation(int maxReactionTimeVariation)
-
getMinNoise
public double getMinNoise()
- Specified by:
getMinNoise
in interfaceIMouseSettings.IMouseMotionSettings
-
setMinNoise
public void setMinNoise(double minNoise)
-
getMaxNoise
public double getMaxNoise()
- Specified by:
getMaxNoise
in interfaceIMouseSettings.IMouseMotionSettings
-
setMaxNoise
public void setMaxNoise(double maxNoise)
-
getMinDeviation
public double getMinDeviation()
- Specified by:
getMinDeviation
in interfaceIMouseSettings.IMouseMotionSettings
-
setMinDeviation
public void setMinDeviation(double minDeviation)
-
getMaxDeviation
public double getMaxDeviation()
- Specified by:
getMaxDeviation
in interfaceIMouseSettings.IMouseMotionSettings
-
setMaxDeviation
public void setMaxDeviation(double maxDeviation)
-
-