Uses of Class
tripleplay.particle.Initializer
Packages that use Initializer
-
Uses of Initializer in tripleplay.particle
Fields in tripleplay.particle with type parameters of type InitializerModifier and TypeFieldDescriptionfinal List<Initializer>
Emitter.initters
The initializers used by this emitter.Method parameters in tripleplay.particle with type arguments of type InitializerModifier and TypeMethodDescriptionvoid
ParticleBuffer.add
(int count, float now, List<? extends Initializer> initters) Addscount
particles to this buffer, and initializes them withinitters
. -
Uses of Initializer in tripleplay.particle.init
Methods in tripleplay.particle.init that return InitializerModifier and TypeMethodDescriptionstatic Initializer
Color.constant
(float r, float g, float b, float a) Returns an initializer that initializes the particle's color to the supplied constant value.static Initializer
Color.constant
(int argb) Returns an initializer that initializes the particle's color to the supplied constant value.static Initializer
Lifespan.constant
(float lifespan) Returns an initializer that provides a constant lifespan.static Initializer
Transform.constant
(float tx, float ty) Returns an initializer that configures a particle with a constant translation, and no scaling or rotation.static Initializer
Transform.constant
(float scale, float rot, float tx, float ty) Returns an initializer that configures a particle with a constant transform.static Initializer
Velocity.constant
(pythagoras.f.Vector velocity) Returns an initializer that provides a constant velocity.static Initializer
Transform.identity()
Returns an initialize that configures a particle to the identity transform.static Initializer
Velocity.increment
(float dx, float dy) Returns an initializer that increments the previously assigned velocity by the specified amounts.static Initializer
Returns an initializer that configures a particle with the same transform (scale, rotation, position) as the supplied layer.static Initializer
Returns an initializer that provides a random lifespan betweenmin
andmax
.static Initializer
Velocity.randomCircle
(Randoms rando, float maximum) Returns an initializer that provides a velocity in a random direction with the specified maximum magnitude.static Initializer
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.static Initializer
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.static Initializer
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.static Initializer
Transform.randomOffset
(Randoms rando, float noise) Returns an initializer that adjusts the particle's position randomly from its current location by up tonoise
units in both x and y.static Initializer
Returns an initializer that configures a particle's position in a random region.static Initializer
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.static Initializer
Velocity.randomSquare
(Randoms rando, float xRange, float yRange) Returns an initializer that provides a uniformly distributed random velocity.static Initializer
Velocity.randomSquare
(Randoms rando, float minX, float maxX, float minY, float maxY) Returns an initializer that provides a uniformly distribted random velocity in the rangeminX
tomaxX
and similarly for the y direction.static Initializer
Transform.scale
(float scale) Returns an initializer that scales its previously assigned transform.