|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TouchListener
Listener for touch events
Method Summary | |
---|---|
boolean |
onTouchDown(WorldEntity e,
float x,
float y)
Called on touch down event |
boolean |
onTouchMove(WorldEntity e,
float x,
float y)
Called on touch move event |
boolean |
onTouchUp(WorldEntity e,
float x,
float y)
Called on touch up event |
Method Detail |
---|
boolean onTouchDown(WorldEntity e, float x, float y)
e
- entity touchedx
- x screen coordinate for the eventy
- y screen coordinate for the event
boolean onTouchMove(WorldEntity e, float x, float y)
e
- entity touchedx
- x screen coordinate for the eventy
- y screen coordinate for the event
boolean onTouchUp(WorldEntity e, float x, float y)
e
- entity touchedx
- x screen coordinate for the eventy
- y screen coordinate for the event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |