Search in sources :

Example 1 with AccelerationAffectorFunction

use of org.terasology.particles.functions.affectors.AccelerationAffectorFunction in project Terasology by MovingBlocks.

the class ParticleSystemManagerImpl method initialise.

public void initialise() {
    particleUpdater = ParticleUpdater.create(physics);
    registerGeneratorFunction(new EnergyRangeGeneratorFunction());
    registerGeneratorFunction(new VelocityRangeGeneratorFunction());
    registerGeneratorFunction(new ColorRangeGeneratorFunction());
    registerGeneratorFunction(new PositionRangeGeneratorFunction());
    registerGeneratorFunction(new ScaleRangeGeneratorFunction());
    registerGeneratorFunction(new TextureOffsetGeneratorFunction());
    registerAffectorFunction(new VelocityAffectorFunction());
    registerAffectorFunction(new AccelerationAffectorFunction());
}
Also used : TextureOffsetGeneratorFunction(org.terasology.particles.functions.generators.TextureOffsetGeneratorFunction) EnergyRangeGeneratorFunction(org.terasology.particles.functions.generators.EnergyRangeGeneratorFunction) VelocityRangeGeneratorFunction(org.terasology.particles.functions.generators.VelocityRangeGeneratorFunction) VelocityAffectorFunction(org.terasology.particles.functions.affectors.VelocityAffectorFunction) ScaleRangeGeneratorFunction(org.terasology.particles.functions.generators.ScaleRangeGeneratorFunction) PositionRangeGeneratorFunction(org.terasology.particles.functions.generators.PositionRangeGeneratorFunction) AccelerationAffectorFunction(org.terasology.particles.functions.affectors.AccelerationAffectorFunction) ColorRangeGeneratorFunction(org.terasology.particles.functions.generators.ColorRangeGeneratorFunction)

Aggregations

AccelerationAffectorFunction (org.terasology.particles.functions.affectors.AccelerationAffectorFunction)1 VelocityAffectorFunction (org.terasology.particles.functions.affectors.VelocityAffectorFunction)1 ColorRangeGeneratorFunction (org.terasology.particles.functions.generators.ColorRangeGeneratorFunction)1 EnergyRangeGeneratorFunction (org.terasology.particles.functions.generators.EnergyRangeGeneratorFunction)1 PositionRangeGeneratorFunction (org.terasology.particles.functions.generators.PositionRangeGeneratorFunction)1 ScaleRangeGeneratorFunction (org.terasology.particles.functions.generators.ScaleRangeGeneratorFunction)1 TextureOffsetGeneratorFunction (org.terasology.particles.functions.generators.TextureOffsetGeneratorFunction)1 VelocityRangeGeneratorFunction (org.terasology.particles.functions.generators.VelocityRangeGeneratorFunction)1