jautil
Class SpeedManager

java.lang.Object
  extended by jautil.BasicSpeedProvider
      extended by jautil.SpeedManager
All Implemented Interfaces:
SpeedProvider

public class SpeedManager
extends BasicSpeedProvider
implements SpeedProvider

A speed manager is a speed-provider that supports dynamic changes to the speed it provides -- achieved via the setSpeedUp(float) setter method.


Constructor Summary
SpeedManager()
          Constructs a neutral speed manager, that is one with an initial speed-up value of 1.
 
Method Summary
 void setSpeedUp(float speedup)
          Sets this manager's speed-up to the specified value.
 
Methods inherited from class jautil.BasicSpeedProvider
getSpeedUp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jautil.SpeedProvider
getSpeedUp
 

Constructor Detail

SpeedManager

public SpeedManager()
Constructs a neutral speed manager, that is one with an initial speed-up value of 1.

Method Detail

setSpeedUp

public void setSpeedUp(float speedup)
Sets this manager's speed-up to the specified value.