jarp
Class AmbientManager

java.lang.Object
  extended by jarp.AmbientManager

public class AmbientManager
extends java.lang.Object

Provides ambient motion management for a parent JARP Character


Constructor Summary
AmbientManager(CASFrame[] aframes, float fps)
           
 
Method Summary
 CASFrame adjust(CASFrame frame, float scale)
           
 CASFrame adjustForTimeDelta(CASFrame frame, float scale, float td)
           
 float getAmbientFPS()
           
 CASFrame[] getAmbientFrames()
           
 float getTime()
           
 float randomResetClock()
           
 void resetClock()
           
 float synchClock()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmbientManager

public AmbientManager(CASFrame[] aframes,
                      float fps)
Method Detail

resetClock

public void resetClock()

randomResetClock

public float randomResetClock()

synchClock

public float synchClock()

getTime

public float getTime()

getAmbientFPS

public float getAmbientFPS()

getAmbientFrames

public CASFrame[] getAmbientFrames()

adjust

public CASFrame adjust(CASFrame frame,
                       float scale)

adjustForTimeDelta

public CASFrame adjustForTimeDelta(CASFrame frame,
                                   float scale,
                                   float td)