Class MapObjectivesCanvas.ObjectiveTilemap.ObjectiveTile.Mover

java.lang.Object
arc.scene.event.InputListener
mindustry.editor.MapObjectivesCanvas.ObjectiveTilemap.ObjectiveTile.Mover
All Implemented Interfaces:
EventListener
Enclosing class:
MapObjectivesCanvas.ObjectiveTilemap.ObjectiveTile

public class MapObjectivesCanvas.ObjectiveTilemap.ObjectiveTile.Mover extends InputListener
  • 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(InputEvent event, float x, float y, int pointer, KeyCode button)
      Description copied from class: InputListener
      Called when a mouse button or a finger touch goes down on the element. If true is returned, this listener will receive all touchDragged and touchUp events, even those not over this element, until touchUp is received. Also when true is returned, the event is handled.
      Overrides:
      touchDown in class InputListener
      See Also:
    • touchDragged

      public void touchDragged(InputEvent event, float x, float y, int pointer)
      Description copied from class: InputListener
      Called when a mouse button or a finger touch is moved anywhere, but only if touchDown previously returned true for the mouse button or touch. The touchDragged event is always handled.
      Overrides:
      touchDragged in class InputListener
      See Also:
    • touchUp

      public void touchUp(InputEvent event, float x, float y, int pointer, KeyCode button)
      Description copied from class: InputListener
      Called when a mouse button or a finger touch goes up anywhere, but only if touchDown previously returned true for the mouse button or touch. The touchUp event is always handled.
      Overrides:
      touchUp in class InputListener
      See Also: