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
    Modifier and Type
    Field
    Description
    float
     
    float
     
    int
     
    int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class arc.scene.event.InputListener
    • touchDragged

      public void touchDragged(arc.scene.event.InputEvent event, float x, float y, int pointer)
      Overrides:
      touchDragged in class arc.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 class arc.scene.event.InputListener