Interface MouseAlgorithm
-
- All Known Subinterfaces:
MouseMovementAlgorithm
- All Known Implementing Classes:
StandardMouseAlgorithm
public interface MouseAlgorithmMouse Algorithm to handle both movement and click implementations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhandleClick(MouseButton button)Handles the clicking process.booleanhandleMovement(AbstractMouseDestination destination)
-
-
-
Method Detail
-
handleMovement
boolean handleMovement(AbstractMouseDestination destination)
-
handleClick
boolean handleClick(MouseButton button)
Handles the clicking process. If you wish to use theStandardMouseAlgorithm.handleClick(MouseButton)You can implement this method to call {@link Mouse#getDefaultMouseAlgorithm()#handleClick(MouseButton)}- Parameters:
button-- Returns:
-
-