public class Lwjgl3CustomCursor extends LibgdxCustomCursor
downPixmap, emptyPixmap, upPixmap, visible, xHotspot, yHotspot
Constructor and Description |
---|
Lwjgl3CustomCursor(Pixmap upPixmap,
Pixmap downPixmap,
int xHotspot,
int yHotspot)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
updateCursorVisibility() |
keyDown, keyTyped, keyUp, mouseMoved, scrolled, touchDown, touchDragged, touchUp
getDownPixmap, getEmptyPixmap, getUpPixmap, getxHotspot, getyHotspot, isVisible, setVisible
public Lwjgl3CustomCursor(Pixmap upPixmap, Pixmap downPixmap, int xHotspot, int yHotspot)
upPixmap
- The image to use in the mouse button up statedownPixmap
- The image to use in the mouse button down statexHotspot
- The x location of the hotspot pixel within the cursor image (origin top-left corner)yHotspot
- The y location of the hotspot pixel within the cursor image (origin top-left corner)protected void updateCursorVisibility()
updateCursorVisibility
in class LibgdxCustomCursor