Package com.badlogic.gdx.graphics.g2d
Class ParticleEmitter.RangedNumericValue
- java.lang.Object
-
- com.badlogic.gdx.graphics.g2d.ParticleEmitter.ParticleValue
-
- com.badlogic.gdx.graphics.g2d.ParticleEmitter.RangedNumericValue
-
- Direct Known Subclasses:
ParticleEmitter.ScaledNumericValue
- Enclosing class:
- ParticleEmitter
public static class ParticleEmitter.RangedNumericValue extends ParticleEmitter.ParticleValue
-
-
Constructor Summary
Constructors Constructor Description RangedNumericValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetLowMax()floatgetLowMin()voidload(ParticleEmitter.RangedNumericValue value)voidload(java.io.BufferedReader reader)floatnewLowValue()voidsave(java.io.Writer output)voidscale(float scale)permanently scales the range by a scalar.voidset(ParticleEmitter.RangedNumericValue value)voidsetLow(float value)voidsetLow(float min, float max)voidsetLowMax(float lowMax)voidsetLowMin(float lowMin)-
Methods inherited from class com.badlogic.gdx.graphics.g2d.ParticleEmitter.ParticleValue
isActive, isAlwaysActive, load, setActive, setAlwaysActive
-
-
-
-
Method Detail
-
newLowValue
public float newLowValue()
-
setLow
public void setLow(float value)
-
setLow
public void setLow(float min, float max)
-
getLowMin
public float getLowMin()
-
setLowMin
public void setLowMin(float lowMin)
-
getLowMax
public float getLowMax()
-
setLowMax
public void setLowMax(float lowMax)
-
scale
public void scale(float scale)
permanently scales the range by a scalar.
-
set
public void set(ParticleEmitter.RangedNumericValue value)
-
save
public void save(java.io.Writer output) throws java.io.IOException- Overrides:
savein classParticleEmitter.ParticleValue- Throws:
java.io.IOException
-
load
public void load(java.io.BufferedReader reader) throws java.io.IOException- Overrides:
loadin classParticleEmitter.ParticleValue- Throws:
java.io.IOException
-
load
public void load(ParticleEmitter.RangedNumericValue value)
-
-