|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.util.FramerateController
@Deprecated public class FramerateController extends java.lang.Object
| Constructor and Description |
|---|
FramerateController(float fps)
Deprecated. Creates new frame rate controller with specified frames per second value and initial time stamp. |
| Modifier and Type | Method and Description |
|---|---|
void |
startFrame()
Deprecated. Sets time stamp value to current time in milliseconds. |
void |
waitForNextFrame()
Deprecated. Waits until next frame drawing is started with default frame rate controller. |
void |
waitForNextFrame(java.lang.Object waiter)
Deprecated. Waits until next frame drawing is started. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FramerateController(float fps)
fps - frames per second value.| Method Detail |
|---|
public void startFrame()
public void waitForNextFrame(java.lang.Object waiter)
throws java.lang.InterruptedException
waiter - specified frame rate controller.java.lang.InterruptedException - if waiter is interrupted by the
other thread.
public void waitForNextFrame()
throws java.lang.InterruptedException
java.lang.InterruptedException - if FramerateController is
interrupted by the other thread.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||