Package org.lekan.graphics

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

Related Classes of org.lekan.graphics.SGText

Copyright © 2018 www.massapicom. 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.