net.jinx.physics.fountain
Class DecayTag
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VAR_NAME
public static final java.lang.String VAR_NAME
- See Also:
- Constant Field Values
DecayTag
public DecayTag(float decayAfter)
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()