Examples of SGText


Examples of org.lekan.graphics.SGText

    draw();
    Date currentDate = new Date();
    long renderTime = (currentDate.getTime() - lastFrameDate.getTime());
    double renderTimeSeconds = renderTime / 1000d;
    double fps = 1 / renderTimeSeconds;
    queue.addTransient(new SGText(Math.round(fps) + " FPS", 5, 15));
    queue.redrawAndClear();
    // System.out.println("Current vehicle location ("+x+", "+y+")");
    // System.out.println("Vehicle task sleeping");
    lastFrameDate = new Date();
  }
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.