net.jinx.physics.fountain
Class LinearReleaseControl

java.lang.Object
  extended by net.jinx.physics.fountain.LinearReleaseControl
All Implemented Interfaces:
ReleaseControl

public class LinearReleaseControl
extends java.lang.Object
implements ReleaseControl


Constructor Summary
LinearReleaseControl(float releaseRate)
           
 
Method Summary
 float getReleaseRate()
           
 int releaseCount(float timePassed, int released, int out)
           
 void setReleaseRate(float releaseRate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearReleaseControl

public LinearReleaseControl(float releaseRate)
Method Detail

getReleaseRate

public float getReleaseRate()

setReleaseRate

public void setReleaseRate(float releaseRate)

releaseCount

public int releaseCount(float timePassed,
                        int released,
                        int out)
Specified by:
releaseCount in interface ReleaseControl