Package com.epicbot.api.shared.bot.mouse
Class SpeedSettings
- java.lang.Object
-
- com.epicbot.api.shared.bot.mouse.SpeedSettings
-
- All Implemented Interfaces:
IMouseSettings.ISpeedSettings
public class SpeedSettings extends java.lang.Object implements IMouseSettings.ISpeedSettings
-
-
Constructor Summary
Constructors Constructor Description SpeedSettings()
SpeedSettings(int minMouseMovementBaseTime, int maxMouseMovementBaseTime, int minMouseMovementTimeVariation, int maxMouseMovementTimeVariation, double minSmallMovementSpeedMultiplier, double maxSmallMovementSpeedMultiplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxMouseMovementBaseTime()
The maximum time it takes to move the mouse to a target.int
getMaxMouseMovementTimeVariation()
Random maximum time added to the base movement time.double
getMaxSmallMovementSpeedDivider()
When a movement is considered a small movement, the base time will be calculated as: baseTime / divider.
For example: 2 means the movement will be twice as fast.int
getMinMouseMovementBaseTime()
The minimum time it takes to move the mouse to a target.int
getMinMouseMovementTimeVariation()
Random minimum time added to the base movement time.double
getMinSmallMovementSpeedDivider()
When a movement is considered a small movement, the base time will be calculated as: baseTime / divider.
For example: 2 means the movement will be twice as fast.void
setMaxMouseMovementBaseTime(int maxMouseMovementBaseTime)
void
setMaxMouseMovementTimeVariation(int maxMouseMovementTimeVariation)
void
setMaxSmallMovementSpeedDivider(double maxSmallMovementSpeedDivider)
void
setMinMouseMovementBaseTime(int minMouseMovementBaseTime)
void
setMinMouseMovementTimeVariation(int minMouseMovementTimeVariation)
void
setMinSmallMovementSpeedDivider(double minSmallMovementSpeedDivider)
-
-
-
Constructor Detail
-
SpeedSettings
public SpeedSettings()
-
SpeedSettings
public SpeedSettings(int minMouseMovementBaseTime, int maxMouseMovementBaseTime, int minMouseMovementTimeVariation, int maxMouseMovementTimeVariation, double minSmallMovementSpeedMultiplier, double maxSmallMovementSpeedMultiplier)
-
-
Method Detail
-
getMinMouseMovementBaseTime
public int getMinMouseMovementBaseTime()
Description copied from interface:IMouseSettings.ISpeedSettings
The minimum time it takes to move the mouse to a target.- Specified by:
getMinMouseMovementBaseTime
in interfaceIMouseSettings.ISpeedSettings
- Returns:
-
setMinMouseMovementBaseTime
public void setMinMouseMovementBaseTime(int minMouseMovementBaseTime)
-
getMaxMouseMovementBaseTime
public int getMaxMouseMovementBaseTime()
Description copied from interface:IMouseSettings.ISpeedSettings
The maximum time it takes to move the mouse to a target.- Specified by:
getMaxMouseMovementBaseTime
in interfaceIMouseSettings.ISpeedSettings
- Returns:
-
setMaxMouseMovementBaseTime
public void setMaxMouseMovementBaseTime(int maxMouseMovementBaseTime)
-
getMinMouseMovementTimeVariation
public int getMinMouseMovementTimeVariation()
Description copied from interface:IMouseSettings.ISpeedSettings
Random minimum time added to the base movement time.- Specified by:
getMinMouseMovementTimeVariation
in interfaceIMouseSettings.ISpeedSettings
- Returns:
-
setMinMouseMovementTimeVariation
public void setMinMouseMovementTimeVariation(int minMouseMovementTimeVariation)
-
getMaxMouseMovementTimeVariation
public int getMaxMouseMovementTimeVariation()
Description copied from interface:IMouseSettings.ISpeedSettings
Random maximum time added to the base movement time.- Specified by:
getMaxMouseMovementTimeVariation
in interfaceIMouseSettings.ISpeedSettings
- Returns:
-
setMaxMouseMovementTimeVariation
public void setMaxMouseMovementTimeVariation(int maxMouseMovementTimeVariation)
-
getMinSmallMovementSpeedDivider
public double getMinSmallMovementSpeedDivider()
Description copied from interface:IMouseSettings.ISpeedSettings
When a movement is considered a small movement, the base time will be calculated as: baseTime / divider.
For example: 2 means the movement will be twice as fast.- Specified by:
getMinSmallMovementSpeedDivider
in interfaceIMouseSettings.ISpeedSettings
- Returns:
-
setMinSmallMovementSpeedDivider
public void setMinSmallMovementSpeedDivider(double minSmallMovementSpeedDivider)
-
getMaxSmallMovementSpeedDivider
public double getMaxSmallMovementSpeedDivider()
Description copied from interface:IMouseSettings.ISpeedSettings
When a movement is considered a small movement, the base time will be calculated as: baseTime / divider.
For example: 2 means the movement will be twice as fast.- Specified by:
getMaxSmallMovementSpeedDivider
in interfaceIMouseSettings.ISpeedSettings
- Returns:
-
setMaxSmallMovementSpeedDivider
public void setMaxSmallMovementSpeedDivider(double maxSmallMovementSpeedDivider)
-
-