public interface TouchListener extends InputListener
TouchListener
is used to receive events of inputs from smartphone touch devicesModifier and Type | Method and Description |
---|---|
void |
onTouch(java.lang.String name,
TouchEvent event,
float tpf) |
void onTouch(java.lang.String name, TouchEvent event, float tpf)
name
- the name of the eventevent
- the touch eventtpf
- how much time has passed since the last frame