Interface TouchListener

All Superinterfaces:
InputListener
All Known Implementing Classes:
AndroidHarness, AndroidHarnessFragment

public interface TouchListener extends InputListener
TouchListener is used to receive events of inputs from smartphone touch devices
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onTouch(String name, TouchEvent event, float tpf)
     
  • Method Details

    • onTouch

      void onTouch(String name, TouchEvent event, float tpf)
      Parameters:
      name - the name of the event
      event - the touch event
      tpf - how much time has passed since the last frame