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 TypeMethodDescriptionboolean
touchDown
(arc.scene.event.InputEvent event, float x, float y, int pointer, arc.input.KeyCode button) void
touchDragged
(arc.scene.event.InputEvent event, float x, float y, int pointer) void
touchUp
(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:
touchDown
in classarc.scene.event.InputListener
-
touchDragged
public void touchDragged(arc.scene.event.InputEvent event, float x, float y, int pointer) - Overrides:
touchDragged
in classarc.scene.event.InputListener
-
touchUp
public void touchUp(arc.scene.event.InputEvent event, float x, float y, int pointer, arc.input.KeyCode button) - Overrides:
touchUp
in classarc.scene.event.InputListener
-