|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.planeth.common.timing.FrameCounter
Counts the frames/second
| Constructor Summary | |
FrameCounter()
Constructor for FrameCounter. |
|
FrameCounter(int countInterval)
Constructor for FrameCounter. |
|
| Method Summary | |
void |
count()
Counts the frames per second |
int |
getFramesPerSecond()
Returns the frames per second |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FrameCounter()
public FrameCounter(int countInterval)
countInterval - defines the interval to be used for the frame counter (smaller = less acourate)| Method Detail |
public void count()
public int getFramesPerSecond()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||