net.jinx.physics.fountain
Class DecayTag

java.lang.Object
  extended by net.jinx.physics.fountain.DecayTag
All Implemented Interfaces:
Tag

public class DecayTag
extends java.lang.Object
implements Tag


Field Summary
static java.lang.String VAR_NAME
           
 
Constructor Summary
DecayTag(float decayAfter)
           
 
Method Summary
 void age(float time)
           
 float getAge()
           
 float getDecayAfter()
           
 java.lang.String getName()
           
 float getNormalizedAge()
           
 void setDecayAfter(float decayAfter)
           
 boolean shouldDecay()
           
 void zeroAge()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VAR_NAME

public static final java.lang.String VAR_NAME
See Also:
Constant Field Values
Constructor Detail

DecayTag

public DecayTag(float decayAfter)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Tag

getDecayAfter

public float getDecayAfter()

setDecayAfter

public void setDecayAfter(float decayAfter)

getAge

public float getAge()

zeroAge

public void zeroAge()

age

public void age(float time)

getNormalizedAge

public float getNormalizedAge()

shouldDecay

public boolean shouldDecay()