public class FPSCounter
extends java.lang.Object
Constructor and Description |
---|
FPSCounter() |
Modifier and Type | Method and Description |
---|---|
boolean |
frame()
Call this function during each frame.
|
float |
getFPS()
Returns the last calculated FPS value.
|
void |
reset() |
java.lang.String |
toString()
Provides a string representation of the current FPS value.
|
public void reset()
public boolean frame()
public float getFPS()
public java.lang.String toString()
toString
in class java.lang.Object