|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.newdawn.slick.particles.ConfigurableEmitter.Range
public class ConfigurableEmitter.Range
A simple bean describing a range of values
Method Summary | |
---|---|
float |
getMax()
Get the maximum value for this range |
float |
getMin()
Get the minimum value for this range |
boolean |
isEnabled()
Check if this configuration option is enabled |
float |
random()
Generate a random number in the range |
void |
setEnabled(boolean enabled)
Indicate if this option should be enabled |
void |
setMax(float max)
Set the maxmium value for this range |
void |
setMin(float min)
Set the minimum value for this range |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public float random()
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- True if this option should be enabledpublic float getMax()
public void setMax(float max)
max
- The maximum value for this rangepublic float getMin()
public void setMin(float min)
min
- The minimum value for this range
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |