org.xith3d.utility.math
Class FloatLowerLimiter

java.lang.Object
  extended by org.xith3d.loop.opscheduler.impl.ScheduledOperationImpl
      extended by org.xith3d.utility.math.FloatLowerLimiter
All Implemented Interfaces:
ScheduledOperation, Updatable

public class FloatLowerLimiter
extends ScheduledOperationImpl

Limit a float value, so that it is never smaller than a given value


Constructor Summary
FloatLowerLimiter(java.lang.Object object, java.lang.String member, float limit, OperationScheduler opSched)
           
 
Method Summary
 void update(long gameTime, long frameTime, UpdatingThread.TimingMode timingMode)
          Updates this Updatable object.
 
Methods inherited from class org.xith3d.loop.opscheduler.impl.ScheduledOperationImpl
isAlive, isPersistent, setAlive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatLowerLimiter

public FloatLowerLimiter(java.lang.Object object,
                         java.lang.String member,
                         float limit,
                         OperationScheduler opSched)
Method Detail

update

public void update(long gameTime,
                   long frameTime,
                   UpdatingThread.TimingMode timingMode)
Description copied from interface: Updatable
Updates this Updatable object.

Parameters:
gameTime - the gameTime in Milliseconds
frameTime - the frameTime in Milliseconds (needed time for the last frame)
timingMode - the TimingMode to use for frameTime.