public class FPSCounter extends java.lang.Object implements IUpdateHandler
IUpdateHandler.IUpdateHandlerMatcher| Modifier and Type | Field and Description |
|---|---|
protected int |
mFrames |
protected float |
mSecondsElapsed |
| Constructor and Description |
|---|
FPSCounter() |
| Modifier and Type | Method and Description |
|---|---|
float |
getFPS() |
void |
onUpdate(float pSecondsElapsed) |
void |
reset() |
public float getFPS()
public void onUpdate(float pSecondsElapsed)
onUpdate in interface IUpdateHandlerpublic void reset()
reset in interface IUpdateHandler