lt.monarch.util
Class FramerateController

java.lang.Object
  extended by lt.monarch.util.FramerateController

Deprecated.

@Deprecated
public class FramerateController
extends java.lang.Object


Constructor Summary
Constructor and Description
FramerateController(float fps)
          Deprecated. Creates new frame rate controller with specified frames per second value and initial time stamp.
 
Method Summary
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

FramerateController

public FramerateController(float fps)
Deprecated. 
Creates new frame rate controller with specified frames per second value and initial time stamp.

Parameters:
fps - frames per second value.
Method Detail

startFrame

public void startFrame()
Deprecated. 
Sets time stamp value to current time in milliseconds.


waitForNextFrame

public void waitForNextFrame(java.lang.Object waiter)
                      throws java.lang.InterruptedException
Deprecated. 
Waits until next frame drawing is started.

Parameters:
waiter - specified frame rate controller.
Throws:
java.lang.InterruptedException - if waiter is interrupted by the other thread.

waitForNextFrame

public void waitForNextFrame()
                      throws java.lang.InterruptedException
Deprecated. 
Waits until next frame drawing is started with default frame rate controller.

Throws:
java.lang.InterruptedException - if FramerateController is interrupted by the other thread.