Class Color

java.lang.Object
tripleplay.particle.init.Color

public class Color extends Object
Initializes the color value of a particle.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    constant(float r, float g, float b, float a)
    Returns an initializer that initializes the particle's color to the supplied constant value.
    constant(int argb)
    Returns an initializer that initializes the particle's color to the supplied constant value.

    Methods inherited from class java.lang.Object

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

    • Color

      public Color()
  • Method Details

    • constant

      public static Initializer constant(int argb)
      Returns an initializer that initializes the particle's color to the supplied constant value.
    • constant

      public static Initializer constant(float r, float g, float b, float a)
      Returns an initializer that initializes the particle's color to the supplied constant value.