Class RandomEncounterSystem.BirdClickInputProcessor

java.lang.Object
com.badlogic.gdx.InputAdapter
com.prineside.tdi2.systems.RandomEncounterSystem.BirdClickInputProcessor
All Implemented Interfaces:
InputProcessor
Enclosing class:
RandomEncounterSystem

public class RandomEncounterSystem.BirdClickInputProcessor extends InputAdapter
  • Constructor Details

    • BirdClickInputProcessor

      public BirdClickInputProcessor()
  • Method Details

    • touchDown

      public boolean touchDown(int screenX, int screenY, int pointer, int button)
      Description copied from interface: com.badlogic.gdx.InputProcessor
      Called when the screen was touched or a mouse button was pressed. The button parameter will be Input.Buttons.LEFT on iOS.
      Specified by:
      touchDown in interface InputProcessor
      Overrides:
      touchDown in class InputAdapter
      Parameters:
      screenX - The x coordinate, origin is in the upper left corner
      screenY - The y coordinate, origin is in the upper left corner
      pointer - the pointer for the event.
      button - the button
      Returns:
      whether the input was processed