Class StandardMouseAlgorithm
java.lang.Object
org.highlife.api.input.mouse.algorithm.StandardMouseAlgorithm
- All Implemented Interfaces:
MouseAlgorithm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()doubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoublebooleanhandleClick(MouseButton button) booleanhandleMovement(AbstractMouseDestination destination) voidhandleWheel(WheelMode mode)
-
Constructor Details
-
StandardMouseAlgorithm
public StandardMouseAlgorithm()
-
-
Method Details
-
handleMovement
- Specified by:
handleMovementin interfaceMouseAlgorithm
-
handleClick
- Specified by:
handleClickin interfaceMouseAlgorithm
-
handleWheel
- Specified by:
handleWheelin interfaceMouseAlgorithm
-
getCanvasReportRate
public double getCanvasReportRate() -
dynamicRandom
public double dynamicRandom() -
getMaxdTheta
public double getMaxdTheta() -
getDecelRadiusDeviation
public double getDecelRadiusDeviation() -
getDecayDistanceExponent
public double getDecayDistanceExponent() -
getMinMagnitude
public double getMinMagnitude() -
getAccelerationDeviation
public double getAccelerationDeviation() -
getMinDecelMagnitude
public double getMinDecelMagnitude() -
getMaxDecelDistance
public double getMaxDecelDistance() -
getAccelerationRate
public double getAccelerationRate() -
getMaxMagnitude
public double getMaxMagnitude() -
getDecelDecayRate
public double getDecelDecayRate() -
getAngleDeviationRate
public double getAngleDeviationRate() -
getMeanDecelRadius
public double getMeanDecelRadius() -
clear
public void clear()- Specified by:
clearin interfaceMouseAlgorithm
-