com.jme3.input.controls
Interface TouchListener

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

public interface TouchListener
extends InputListener

TouchListener is used to receive events of inputs from smartphone touch devices


Method Summary
 void onTouch(java.lang.String name, TouchEvent event, float tpf)
           
 

Method Detail

onTouch

void onTouch(java.lang.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