Class InputVoid

java.lang.Object
com.badlogic.gdx.scenes.scene2d.InputListener
com.prineside.tdi2.utils.InputVoid
All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.EventListener

public class InputVoid extends com.badlogic.gdx.scenes.scene2d.InputListener
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    mouseMoved(com.badlogic.gdx.scenes.scene2d.InputEvent event, float x, float y)
    Called any time the mouse is moved when a button is not down.
    boolean
    touchDown(com.badlogic.gdx.scenes.scene2d.InputEvent event, float x, float y, int pointer, int button)
    Called when a mouse button or a finger touch goes down on the actor.

    Methods inherited from class com.badlogic.gdx.scenes.scene2d.InputListener

    enter, exit, handle, keyDown, keyTyped, keyUp, scrolled, touchDragged, touchUp

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InputVoid

      public InputVoid()
  • Method Details

    • touchDown

      public boolean touchDown(com.badlogic.gdx.scenes.scene2d.InputEvent event, float x, float y, int pointer, int button)
      Description copied from class: com.badlogic.gdx.scenes.scene2d.InputListener
      Called when a mouse button or a finger touch goes down on the actor. If true is returned, this listener will have touch focus, so it will receive all touchDragged and touchUp events, even those not over this actor, until touchUp is received. Also when true is returned, the event is handled.
      Overrides:
      touchDown in class com.badlogic.gdx.scenes.scene2d.InputListener
      See Also:
      • InputEvent
    • mouseMoved

      public boolean mouseMoved(com.badlogic.gdx.scenes.scene2d.InputEvent event, float x, float y)
      Description copied from class: com.badlogic.gdx.scenes.scene2d.InputListener
      Called any time the mouse is moved when a button is not down. This event only occurs on the desktop. When true is returned, the event is handled.
      Overrides:
      mouseMoved in class com.badlogic.gdx.scenes.scene2d.InputListener
      See Also:
      • InputEvent