gestalt.applet
Class JoglFPSAnimator

java.lang.Object
  extended by gestalt.applet.JoglFPSAnimator

public class JoglFPSAnimator
extends java.lang.Object

An Animator subclass which attempts to achieve a target frames-per-second rate to avoid using all CPU time. The target FPS is only an estimate and is not guaranteed.


Constructor Summary
JoglFPSAnimator(GLAutoDrawable theDrawable, JoglAppletRenderer theRenderContext, int theFPS)
           
 
Method Summary
 void framerate(int theFPS)
           
 int getFramerate()
           
 void start()
          Starts this FPSAnimator.
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoglFPSAnimator

public JoglFPSAnimator(GLAutoDrawable theDrawable,
                       JoglAppletRenderer theRenderContext,
                       int theFPS)
Method Detail

start

public void start()
Starts this FPSAnimator.


stop

public void stop()

framerate

public void framerate(int theFPS)

getFramerate

public int getFramerate()


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009