Package mindustry.editor
Class MapObjectivesCanvas.ObjectiveTilemap.ObjectiveTile.Mover
java.lang.Object
arc.scene.event.InputListener
mindustry.editor.MapObjectivesCanvas.ObjectiveTilemap.ObjectiveTile.Mover
- All Implemented Interfaces:
arc.scene.event.EventListener
- Enclosing class:
- MapObjectivesCanvas.ObjectiveTilemap.ObjectiveTile
public class MapObjectivesCanvas.ObjectiveTilemap.ObjectiveTile.Mover
extends arc.scene.event.InputListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleantouchDown(arc.scene.event.InputEvent event, float x, float y, int pointer, arc.input.KeyCode button) voidtouchDragged(arc.scene.event.InputEvent event, float x, float y, int pointer) voidtouchUp(arc.scene.event.InputEvent event, float x, float y, int pointer, arc.input.KeyCode button) Methods inherited from class arc.scene.event.InputListener
enter, exit, handle, keyDown, keyTyped, keyUp, mouseMoved, scrolled
-
Field Details
-
prevX
public int prevX -
prevY
public int prevY -
lastX
public float lastX -
lastY
public float lastY
-
-
Constructor Details
-
Mover
public Mover()
-
-
Method Details
-
touchDown
public boolean touchDown(arc.scene.event.InputEvent event, float x, float y, int pointer, arc.input.KeyCode button) - Overrides:
touchDownin classarc.scene.event.InputListener
-
touchDragged
public void touchDragged(arc.scene.event.InputEvent event, float x, float y, int pointer) - Overrides:
touchDraggedin classarc.scene.event.InputListener
-
touchUp
public void touchUp(arc.scene.event.InputEvent event, float x, float y, int pointer, arc.input.KeyCode button) - Overrides:
touchUpin classarc.scene.event.InputListener
-