Package com.badlogic.gdx.scenes.scene2d

Examples of com.badlogic.gdx.scenes.scene2d.Actor.touchUp()


  boolean tap (int x, int y) {
    focus(null, 0);
    if (!super.touchDown(x, y, 0)) return false;
    Actor actor = focusedActor[0];
    toLocalCoordinates(actor, point);
    actor.touchUp(point.x, point.y, 0);
    return true;
  }

  public void toLocalCoordinates (Actor actor, Vector2 point) {
    if (actor.parent == this) return;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.