Class ParticleParameter

java.lang.Object
de.gurkenlabs.litiengine.graphics.emitters.xml.ParticleParameter
All Implemented Interfaces:
java.io.Serializable

public class ParticleParameter
extends java.lang.Object
implements java.io.Serializable
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    ConstructorDescription
    ParticleParameter() 
    ParticleParameter​(float value) 
    ParticleParameter​(float minValue, float maxValue) 
  • Method Summary

    Modifier and TypeMethodDescription
    doubleget()
    Gets either the actual value or a random value, depending on the random number flag being set.
    doublegetMaxValue() 
    doublegetMinValue() 
    floatgetRandomNumber() 
    voidsetMaxValue​(double maxValue) 
    voidsetMinValue​(double minValue) 

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • get

      public double get()
      Gets either the actual value or a random value, depending on the random number flag being set.
      Returns:
      The value of this parameter.
    • getMaxValue

      public double getMaxValue()
    • getMinValue

      public double getMinValue()
    • getRandomNumber

      public float getRandomNumber()
    • setMaxValue

      public void setMaxValue​(double maxValue)
    • setMinValue

      public void setMinValue​(double minValue)