Package com.badlogic.gdx

Examples of com.badlogic.gdx.ApplicationListener.resize()


    height = Math.max(1, height);
    this.width = width;
    this.height = height;
    Gdx.gl.glViewport(0, 0, width, height);
    ApplicationListener listener = Gdx.app.getApplicationListener();
    if (listener != null) listener.resize(width, height);
    requestRendering();
  }

  void positionChanged (int x, int y) {
    this.x = x;
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.