Uses of Class
tripleplay.particle.Initializer

Packages that use Initializer
Package
Description
 
 
  • Uses of Initializer in tripleplay.particle

    Fields in tripleplay.particle with type parameters of type Initializer
    Modifier and Type
    Field
    Description
    Emitter.initters
    The initializers used by this emitter.
    Method parameters in tripleplay.particle with type arguments of type Initializer
    Modifier and Type
    Method
    Description
    void
    ParticleBuffer.add(int count, float now, List<? extends Initializer> initters)
    Adds count particles to this buffer, and initializes them with initters.
  • Uses of Initializer in tripleplay.particle.init

    Methods in tripleplay.particle.init that return Initializer
    Modifier and Type
    Method
    Description
    Color.constant(float r, float g, float b, float a)
    Returns an initializer that initializes the particle's color to the supplied constant value.
    Color.constant(int argb)
    Returns an initializer that initializes the particle's color to the supplied constant value.
    Lifespan.constant(float lifespan)
    Returns an initializer that provides a constant lifespan.
    Transform.constant(float tx, float ty)
    Returns an initializer that configures a particle with a constant translation, and no scaling or rotation.
    Transform.constant(float scale, float rot, float tx, float ty)
    Returns an initializer that configures a particle with a constant transform.
    Velocity.constant(pythagoras.f.Vector velocity)
    Returns an initializer that provides a constant velocity.
    Transform.identity()
    Returns an initialize that configures a particle to the identity transform.
    Velocity.increment(float dx, float dy)
    Returns an initializer that increments the previously assigned velocity by the specified amounts.
    Transform.layer(Layer layer)
    Returns an initializer that configures a particle with the same transform (scale, rotation, position) as the supplied layer.
    Lifespan.random(Randoms rando, float min, float max)
    Returns an initializer that provides a random lifespan between min and max.
    Velocity.randomCircle(Randoms rando, float maximum)
    Returns an initializer that provides a velocity in a random direction with the specified maximum magnitude.
    Velocity.randomCircle(Randoms rando, float min, float max)
    Returns an initializer that provides a velocity in a random direction with the specified minimum and maximum magnitude.
    Velocity.randomNormal(Randoms rando, float mean, float dev)
    Returns an initializer that provides a normally distributed random velocity with the specified mean and standard deviation parameters.
    Velocity.randomNormal(Randoms rando, float xMean, float xDev, float yMean, float yDev)
    Returns an initializer that provides a normally distributed random velocity with the specified mean and standard deviation parameters.
    Transform.randomOffset(Randoms rando, float noise)
    Returns an initializer that adjusts the particle's position randomly from its current location by up to noise units in both x and y.
    Transform.randomPos(Randoms rando, float x, float y, float width, float height)
    Returns an initializer that configures a particle's position in a random region.
    Transform.randomScale(Randoms rando, float minScale, float maxScale)
    Returns an initializer that scales its previously assigned transform by an evenly distributed random amount within the specified range.
    Velocity.randomSquare(Randoms rando, float xRange, float yRange)
    Returns an initializer that provides a uniformly distributed random velocity.
    Velocity.randomSquare(Randoms rando, float minX, float maxX, float minY, float maxY)
    Returns an initializer that provides a uniformly distribted random velocity in the range minX to maxX and similarly for the y direction.
    Transform.scale(float scale)
    Returns an initializer that scales its previously assigned transform.