Interface MouseAlgorithm
-
- All Known Subinterfaces:
MouseMovementAlgorithm
- All Known Implementing Classes:
StandardMouseAlgorithm
public interface MouseAlgorithm
Mouse Algorithm to handle both movement and click implementations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
handleClick(MouseButton button)
Handles the clicking process.boolean
handleMovement(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:
-
-