public abstract class TouchListener extends java.lang.Object implements ITouchListener
Constructor and Description |
---|
TouchListener() |
Modifier and Type | Method and Description |
---|---|
long |
getPriority() |
boolean |
isEnabled() |
boolean |
onTouchDown(Vector2 point,
MotionEvent event) |
boolean |
onTouchMove(Vector2 point,
MotionEvent event) |
boolean |
onTouchUp(Vector2 point,
MotionEvent event) |
public long getPriority()
getPriority
in interface Prioritizable
public boolean onTouchDown(Vector2 point, MotionEvent event)
onTouchDown
in interface ITouchListener
public boolean onTouchUp(Vector2 point, MotionEvent event)
onTouchUp
in interface ITouchListener
public boolean onTouchMove(Vector2 point, MotionEvent event)
onTouchMove
in interface ITouchListener
public boolean isEnabled()
isEnabled
in interface ITouchListener