public boolean tap (float stageX, float stageY, int count, int button) { actor.stageToLocalCoordinates(tmpCoords.set(stageX, stageY)); ActorGestureListener.this.tap(event, tmpCoords.x, tmpCoords.y, count, button); return true; }
public boolean tap (float stageX, float stageY, int count, int button) { actor.stageToLocalCoordinates(tmpCoords.set(stageX, stageY)); ActorGestureListener.this.tap(event, tmpCoords.x, tmpCoords.y, count, button); return true; }
public boolean tap (float stageX, float stageY, int count, int button) { actor.stageToLocalCoordinates(tmpCoords.set(stageX, stageY)); ActorGestureListener.this.tap(event, tmpCoords.x, tmpCoords.y, count, button); return true; }
@Override public void tap(InputEvent event, float x, float y, int count, int button) { super.tap(event, x, y, count, button); Actor actor = event.getListenerActor(); int position = (Integer) actor.getUserObject(); if (onItemClickedListener != null ) { onItemClickedListener.onItemClicked(listAdapter.getItem(position), actor, position); } }