es.ucm.look.ar.listeners
Interface TouchListener


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

onTouchDown

boolean onTouchDown(WorldEntity e,
                    float x,
                    float y)
Called on touch down event

Parameters:
e - entity touched
x - x screen coordinate for the event
y - y screen coordinate for the event
Returns:
if the event has been processed

onTouchMove

boolean onTouchMove(WorldEntity e,
                    float x,
                    float y)
Called on touch move event

Parameters:
e - entity touched
x - x screen coordinate for the event
y - y screen coordinate for the event
Returns:
if the event has been processed

onTouchUp

boolean onTouchUp(WorldEntity e,
                  float x,
                  float y)
Called on touch up event

Parameters:
e - entity touched
x - x screen coordinate for the event
y - y screen coordinate for the event
Returns:
if the event has been processed